From bc49b6dcfe002678742e6812567348c33a7d4819 Mon Sep 17 00:00:00 2001 From: Quoc-Minh Ton-That <34039469+Q-Minh@users.noreply.github.com> Date: Wed, 16 Apr 2025 10:42:33 -0400 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()