summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-18 18:21:28 +0200
committerEgor Tensin <egor@tensin.name>2026-06-18 18:21:28 +0200
commit94c484de314d83145a63a15c8be2828c17e37ebd (patch)
tree1e4b1ef7130616cb8b09ca7ce9691a7ffd52a249
parentfix warnings (diff)
downloadaes-tools-94c484de314d83145a63a15c8be2828c17e37ebd.tar.gz
aes-tools-94c484de314d83145a63a15c8be2828c17e37ebd.zip
Revert "cmake: treat warnings as errors"
This reverts commit 9ed9dedb4f0a749ef3ff70eb4976291d00db56a0.
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 28197a2..82b62c1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -7,9 +7,9 @@ project(aes_tools C CXX)
enable_testing()
if (MSVC)
- add_compile_options(/MP /W4 /WX)
+ add_compile_options(/MP /W4)
else()
- add_compile_options(-Wall -Wextra -pedantic -Werror)
+ add_compile_options(-Wall -Wextra)
endif()
add_compile_definitions(WIN32_LEAN_AND_MEAN NOMINMAX)