mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-15 20:31:16 +08:00
Do not use compile features with msvc
It has no options controlling the language feature to use anyway.
This commit is contained in:
parent
03100bbbbe
commit
377fbc8958
@ -33,6 +33,7 @@ target_include_directories(sqlpp11 INTERFACE
|
||||
$<BUILD_INTERFACE:${sqlpp11_SOURCE_DIR}/include>
|
||||
)
|
||||
|
||||
if (NOT MSVC)
|
||||
target_compile_features(sqlpp11 INTERFACE
|
||||
cxx_alias_templates
|
||||
cxx_auto_type
|
||||
@ -54,6 +55,7 @@ target_compile_features(sqlpp11 INTERFACE
|
||||
cxx_template_template_parameters
|
||||
cxx_variadic_templates
|
||||
)
|
||||
endif ()
|
||||
|
||||
add_subdirectory(tests)
|
||||
add_subdirectory(test_constraints)
|
||||
|
Loading…
Reference in New Issue
Block a user