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.
2 parents d62a018 + 15dd6f9 commit 2964b58Copy full SHA for 2964b58
tools/SourceKit/CMakeLists.txt
@@ -101,7 +101,8 @@ if(NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
101
102
if(SWIFT_BUILD_SOURCEKIT)
103
if(CMAKE_C_COMPILER_ID STREQUAL Clang AND
104
- CMAKE_C_COMPILER_VERSION VERSION_GREATER 3.8)
+ CMAKE_C_COMPILER_VERSION VERSION_GREATER 3.8
105
+ OR LLVM_USE_SANITIZER)
106
set(SWIFT_SOURCEKIT_C_COMPILER ${CMAKE_C_COMPILER})
107
set(SWIFT_SOURCEKIT_CXX_COMPILER ${CMAKE_CXX_COMPILER})
108
elseif(${CMAKE_SYSTEM_NAME} STREQUAL ${CMAKE_HOST_SYSTEM_NAME})
0 commit comments