Don't treat warnings as errors

This commit is contained in:
hvellyr 2016-06-07 09:54:02 +02:00
parent bc9234a25f
commit 45db14ebd7

View File

@ -53,7 +53,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang"
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
set(warning_options -Wall -Wpedantic -Wextra) set(warning_options -Wall -Wpedantic -Wextra)
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
set(warning_options /WX /W4 /wd4503 /wd4512) set(warning_options /W4 /wd4503 /wd4512)
endif() endif()
enable_testing() enable_testing()