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 01088c3 + 5ef02f6 commit 1c90753Copy full SHA for 1c90753
cmake/modules/AddSwift.cmake
@@ -972,7 +972,7 @@ function(_add_swift_library_single target name)
972
973
# Configure plist creation for OS X.
974
set(PLIST_INFO_PLIST "Info.plist" CACHE STRING "Plist name")
975
- if(APPLE AND SWIFTLIB_SINGLE_IS_STDLIB)
+ if("${SWIFTLIB_SINGLE_SDK}" IN_LIST SWIFT_APPLE_PLATFORMS AND SWIFTLIB_SINGLE_IS_STDLIB)
976
set(PLIST_INFO_NAME ${name})
977
set(PLIST_INFO_UTI "com.apple.dt.runtime.${name}")
978
set(PLIST_INFO_VERSION "${SWIFT_VERSION}")
0 commit comments