We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
clang::driver::options::OPT_
1 parent 6aa8425 commit 039bf04Copy full SHA for 039bf04
1 file changed
CMakeLists.txt
@@ -380,6 +380,8 @@ endif ()
380
# Fixes "C++ exception handler used, but unwind semantics are not enabled" warning Windows
381
if (MSVC)
382
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHsc")
383
+ # Required for clang::driver::options::OPT_ see https://github.com/llvm/llvm-project/issues/86028
384
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Zc:preprocessor")
385
endif ()
386
387
if (APPLE)
0 commit comments