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 38176ba + d3ce6a6 commit 7f73f47Copy full SHA for 7f73f47
cmake/modules/AddSwift.cmake
@@ -1312,7 +1312,7 @@ function(_add_swift_library_single target name)
1312
# doing so will result in incorrect symbol resolution and linkage. We created
1313
# import library targets when the library was added. Use that to adjust the
1314
# link libraries.
1315
- if(SWIFTLIB_SINGLE_SDK STREQUAL WINDOWS AND NOT CMAKE_HOST_SYSTEM_NAME STREQUAL Windows)
+ if(SWIFTLIB_SINGLE_SDK STREQUAL WINDOWS AND NOT CMAKE_SYSTEM_NAME STREQUAL Windows)
1316
foreach(library_list LINK_LIBRARIES INTERFACE_LINK_LIBRARIES PRIVATE_LINK_LIBRARIES)
1317
set(import_libraries)
1318
foreach(library ${SWIFTLIB_SINGLE_${library_list}})
0 commit comments