diff options
author | gabime <gmelman1@gmail.com> | 2018-08-17 00:32:13 +0300 |
---|---|---|
committer | gabime <gmelman1@gmail.com> | 2018-08-17 00:32:13 +0300 |
commit | a58d7594cb9d2a8948feb94426617002f0e16fd2 (patch) | |
tree | 920114daac41fc74428e1b0f9a72b9089e286395 /CMakeLists.txt | |
parent | 06181720fbcee334d13ab26d0fa76fb818112950 (diff) |
Fixed issue #798 and added -Wconversion compiler flag to build
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
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() #--------------------------------------------------------------------------------------- |