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>
)
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)