We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1088c23 commit 2661dd0Copy full SHA for 2661dd0
CMakeLists.txt
@@ -115,7 +115,9 @@ endif()
115
if(MSVC)
116
# use new Standard Conforming Preprocessor
117
# https://learn.microsoft.com/en-us/cpp/preprocessor/preprocessor-experimental-overview?view=msvc-170
118
- add_compile_options(/Zc:preprocessor)
+ if(NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")
119
+ add_compile_options(/Zc:preprocessor)
120
+ endif()
121
endif()
122
123
# enable control flow guard
0 commit comments