diff --git a/CMakeLists.txt b/CMakeLists.txt index 8c6eca4f..3f436d61 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,8 +42,8 @@ target_compile_features(cpp-sort INTERFACE cxx_std_14) # MSVC won't work without a stricter standard compliance if (MSVC) target_compile_options(cpp-sort INTERFACE - /permissive- - /Zc:preprocessor + $<$:/permissive- /Zc:preprocessor> + $<$:-Xcompiler "/permissive- /Zc:preprocessor"> ) endif()