From f3bed37a2172120b2de4a6855e163e2f5a5fdac6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Hunold?= Date: Mon, 1 Jun 2015 19:00:13 +0200 Subject: [PATCH] Do not set gcc/clang options when using msvc --- tests/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 669b2b9f..66ba4a0f 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -24,7 +24,10 @@ add_library(sqlpp11_testing INTERFACE) target_include_directories(sqlpp11_testing INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}) + +if (NOT MSVC) target_compile_options(sqlpp11_testing INTERFACE -Wall -Wextra -pedantic) +endif () set(test_names BooleanExpression