0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-15 20:31:16 +08:00

Do not set gcc/clang options when using msvc

This commit is contained in:
Jürgen Hunold 2015-06-01 19:00:13 +02:00
parent 03100bbbbe
commit f3bed37a21

View File

@ -24,7 +24,10 @@
add_library(sqlpp11_testing INTERFACE) add_library(sqlpp11_testing INTERFACE)
target_include_directories(sqlpp11_testing INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}) target_include_directories(sqlpp11_testing INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
if (NOT MSVC)
target_compile_options(sqlpp11_testing INTERFACE -Wall -Wextra -pedantic) target_compile_options(sqlpp11_testing INTERFACE -Wall -Wextra -pedantic)
endif ()
set(test_names set(test_names
BooleanExpression BooleanExpression