0
0
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:
Jürgen Hunold 2015-06-01 19:01:38 +02:00
parent 03100bbbbe
commit 377fbc8958

View File

@ -33,6 +33,7 @@ target_include_directories(sqlpp11 INTERFACE
$<BUILD_INTERFACE:${sqlpp11_SOURCE_DIR}/include> $<BUILD_INTERFACE:${sqlpp11_SOURCE_DIR}/include>
) )
if (NOT MSVC)
target_compile_features(sqlpp11 INTERFACE target_compile_features(sqlpp11 INTERFACE
cxx_alias_templates cxx_alias_templates
cxx_auto_type cxx_auto_type
@ -54,6 +55,7 @@ target_compile_features(sqlpp11 INTERFACE
cxx_template_template_parameters cxx_template_template_parameters
cxx_variadic_templates cxx_variadic_templates
) )
endif ()
add_subdirectory(tests) add_subdirectory(tests)
add_subdirectory(test_constraints) add_subdirectory(test_constraints)