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 8109fd9 commit c738783Copy full SHA for c738783
CMakeLists.txt
@@ -119,7 +119,8 @@ endif()
119
120
# Optimize test utilities by default.
121
if(MSVC)
122
- set_target_properties(FileCheck PROPERTIES COMPILE_FLAGS "${LLVM_DEFINITIONS} -w /O2 /GL /MT")
+ string(REGEX REPLACE "/RTC[^ ]*" "" LLVM_DEFINITIONS "${LLVM_DEFINITIONS}") # Remove /RTC flags
123
+ set_target_properties(FileCheck PROPERTIES COMPILE_FLAGS "${LLVM_DEFINITIONS} /w /O2 /GL /MT")
124
set_target_properties(libcx PROPERTIES COMPILE_FLAGS "/MT")
125
set_target_properties(cx PROPERTIES COMPILE_FLAGS "/MT")
126
else()
0 commit comments