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 9dc44b7 + 8bb9144 commit 247cdc1Copy full SHA for 247cdc1
cmake/modules/AddSwift.cmake
@@ -1383,7 +1383,7 @@ function(_add_swift_library_single target name)
1383
# NOTE(compnerd) use the C linker language to invoke `clang` rather than
1384
# `clang++` as we explicitly link against the C++ runtime. We were previously
1385
# actually passing `-nostdlib++` to avoid the C++ runtime linkage.
1386
- if(SWIFTLIB_SINGLE_SDK STREQUAL ANDROID)
+ if("${SWIFTLIB_SINGLE_SDK}" STREQUAL "ANDROID")
1387
set_property(TARGET "${target}" PROPERTY
1388
LINKER_LANGUAGE "C")
1389
else()
0 commit comments