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 b962cab + 9156503 commit 1835aafCopy full SHA for 1835aaf
unittests/runtime/CMakeLists.txt
@@ -12,9 +12,7 @@ if(("${SWIFT_HOST_VARIANT_SDK}" STREQUAL "${SWIFT_PRIMARY_VARIANT_SDK}") AND
12
set(CMAKE_C_COMPILER "${SWIFT_NATIVE_CLANG_TOOLS_PATH}/clang")
13
endif()
14
elseif(SWIFT_BUILD_RUNTIME_WITH_HOST_COMPILER)
15
- if(NOT "${CMAKE_C_COMPILER_ID}" MATCHES "Clang")
16
- message(FATAL_ERROR "Building the swift runtime is not supported with ${CMAKE_C_COMPILER_ID}. Use the just-built clang instead.")
17
- endif()
+ message(FATAL_ERROR "Building the swift runtime is not supported with ${CMAKE_C_COMPILER_ID}. Use the just-built clang instead.")
18
else()
19
message(WARNING "Building the swift runtime using the host compiler, and not the just-built clang.")
20
0 commit comments