diff --git a/CMakeLists.txt b/CMakeLists.txt index 58ab3755..1a5924e4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,7 +47,7 @@ target_include_directories(sqlpp11 INTERFACE $ ) -if (NOT MSVC) +if (NOT DEFINED MSVC) target_compile_features(sqlpp11 INTERFACE cxx_alias_templates cxx_auto_type