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:
parent
03100bbbbe
commit
f3bed37a21
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user