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-17 00:32:13 +0300
committergabime <gmelman1@gmail.com>2018-08-17 00:32:13 +0300
commita58d7594cb9d2a8948feb94426617002f0e16fd2 (patch)
tree920114daac41fc74428e1b0f9a72b9089e286395 /CMakeLists.txt
parent06181720fbcee334d13ab26d0fa76fb818112950 (diff)
Fixed issue #798 and added -Wconversion compiler flag to build
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fee56552..3eee0dae 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -28,7 +28,9 @@ 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("-Wconversion")
add_compile_options("-pedantic")
+
endif()
#---------------------------------------------------------------------------------------