mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-05-08 04:10:08 -05:00
Merge pull request #45 from jhunold/gcc_flags
Do not set gcc/clang options when using msvc
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user