From 35f22e85962fb1b325ba595b7d696449fdd0c435 Mon Sep 17 00:00:00 2001 From: Niels Date: Wed, 17 Aug 2016 21:38:19 +0200 Subject: [PATCH] checking MSVC compiler flags --- test/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 782d5b53..9fe0327c 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -38,8 +38,8 @@ add_executable(${JSON_UNITTEST_TARGET_NAME} set_target_properties(${JSON_UNITTEST_TARGET_NAME} PROPERTIES CXX_STANDARD 11 CXX_STANDARD_REQUIRED ON - COMPILE_DEFINITIONS "$<$:_SCL_SECURE_NO_WARNINGS>" - COMPILE_OPTIONS "$<$:/EHsc;$<$:/Od>>" + #COMPILE_DEFINITIONS "$<$:_SCL_SECURE_NO_WARNINGS>" + COMPILE_OPTIONS "$<$:/EHsc /Wall;$<$:/Od>>" ) target_include_directories(${JSON_UNITTEST_TARGET_NAME} PRIVATE "src")