We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 739e02e + bc49b6d commit 37a535fCopy full SHA for 37a535f
CMakeLists.txt
@@ -42,8 +42,8 @@ target_compile_features(cpp-sort INTERFACE cxx_std_14)
42
# MSVC won't work without a stricter standard compliance
43
if (MSVC)
44
target_compile_options(cpp-sort INTERFACE
45
- /permissive-
46
- /Zc:preprocessor
+ $<$<COMPILE_LANGUAGE:CXX>:/permissive- /Zc:preprocessor>
+ $<$<COMPILE_LANGUAGE:CUDA>:-Xcompiler "/permissive- /Zc:preprocessor">
47
)
48
endif()
49
0 commit comments