diff options
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 72a54a6..89e1cf6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,9 +5,9 @@ cmake_minimum_required(VERSION 3.25) project(privilege_check CXX) if(MSVC) - add_compile_options(/MP /W4) + add_compile_options(/MP /W4 /WX) else() - add_compile_options(-Wall -Wextra) + add_compile_options(-Wall -Wextra -pedantic -Werror) endif() add_compile_definitions(WIN32_LEAN_AND_MEAN NOMINMAX) |
