Skip to content

Commit 4fa3cef

Browse files
authored
Merge pull request #26938 from compnerd/star
build: dereference variable as appropriate
2 parents 7ea48a8 + 89516d0 commit 4fa3cef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/modules/AddSwift.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2370,7 +2370,7 @@ function(_add_swift_executable_single name)
23702370
# NOTE(compnerd) use the C linker language to invoke `clang` rather than
23712371
# `clang++` as we explicitly link against the C++ runtime. We were previously
23722372
# actually passing `-nostdlib++` to avoid the C++ runtime linkage.
2373-
if(SWIFTEXE_SINGLE_SDK STREQUAL ANDROID)
2373+
if(${SWIFTEXE_SINGLE_SDK} STREQUAL ANDROID)
23742374
set_property(TARGET "${name}" PROPERTY
23752375
LINKER_LANGUAGE "C")
23762376
else()

0 commit comments

Comments
 (0)