diff options
author | gabime <gmelman1@gmail.com> | 2018-08-15 19:09:37 +0300 |
---|---|---|
committer | gabime <gmelman1@gmail.com> | 2018-08-15 19:09:37 +0300 |
commit | ebea09c8b45b73fc253effffbd18205953aa7db3 (patch) | |
tree | 8845e962c52a7c77643f11483b4e1359e5f50abd /CMakeLists.txt | |
parent | 137f801ec721de0d991b4e488d40124199e83276 (diff) |
Added pedantic flag to compiler in cmake
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0cdb421d..b4e3a63f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,6 +28,7 @@ set(CMAKE_CXX_EXTENSIONS OFF) if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") add_compile_options("-Wall") add_compile_options("-Wextra") + add_compile_options("-pedantic") endif() #--------------------------------------------------------------------------------------- |