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 7ea48a8 + 89516d0 commit 4fa3cefCopy full SHA for 4fa3cef
cmake/modules/AddSwift.cmake
@@ -2370,7 +2370,7 @@ function(_add_swift_executable_single name)
2370
# NOTE(compnerd) use the C linker language to invoke `clang` rather than
2371
# `clang++` as we explicitly link against the C++ runtime. We were previously
2372
# actually passing `-nostdlib++` to avoid the C++ runtime linkage.
2373
- if(SWIFTEXE_SINGLE_SDK STREQUAL ANDROID)
+ if(${SWIFTEXE_SINGLE_SDK} STREQUAL ANDROID)
2374
set_property(TARGET "${name}" PROPERTY
2375
LINKER_LANGUAGE "C")
2376
else()
0 commit comments