Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gabime/spdlog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgabime <gmelman1@gmail.com>2018-08-15 19:09:37 +0300
committergabime <gmelman1@gmail.com>2018-08-15 19:09:37 +0300
commitebea09c8b45b73fc253effffbd18205953aa7db3 (patch)
tree8845e962c52a7c77643f11483b4e1359e5f50abd /CMakeLists.txt
parent137f801ec721de0d991b4e488d40124199e83276 (diff)
Added pedantic flag to compiler in cmake
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
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()
#---------------------------------------------------------------------------------------