From 377fbc8958b26cb2c0151b3068bce07dff3811ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Hunold?= Date: Mon, 1 Jun 2015 19:01:38 +0200 Subject: [PATCH] Do not use compile features with msvc It has no options controlling the language feature to use anyway. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0a4b7c92..83beffcb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,6 +33,7 @@ target_include_directories(sqlpp11 INTERFACE $ ) +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)