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.
1 parent 7ec46f0 commit e497089Copy full SHA for e497089
stdlib/cmake/modules/AddSwiftStdlib.cmake
@@ -1251,7 +1251,9 @@ function(_add_swift_target_library_single target name)
1251
endif()
1252
# Include LLVM Bitcode slices for iOS, Watch OS, and Apple TV OS device libraries.
1253
if(SWIFT_EMBED_BITCODE_SECTION AND NOT SWIFTLIB_SINGLE_DONT_EMBED_BITCODE)
1254
- if(${SWIFTLIB_SINGLE_SDK} MATCHES "(I|TV|WATCH)OS")
+ if(${SWIFTLIB_SINGLE_SDK} STREQUAL "IOS" OR
1255
+ ${SWIFTLIB_SINGLE_SDK} STREQUAL "TVOS" OR
1256
+ ${SWIFTLIB_SINGLE_SDK} STREQUAL "WATCHOS")
1257
# Please note that using a generator expression to fit
1258
# this in a single target_link_options does not work
1259
# (at least in CMake 3.15 and 3.16),
0 commit comments