From 45db14ebd7a7204db4f8f145f4ac8092b2ca698e Mon Sep 17 00:00:00 2001 From: hvellyr Date: Tue, 7 Jun 2016 09:54:02 +0200 Subject: [PATCH] Don't treat warnings as errors --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2c1ef01..16f0dc1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -53,7 +53,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") set(warning_options -Wall -Wpedantic -Wextra) elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") - set(warning_options /WX /W4 /wd4503 /wd4512) + set(warning_options /W4 /wd4503 /wd4512) endif() enable_testing()