Skip to content

Commit 24d8ec5

Browse files
authored
Merge pull request #63781 from Azoy/zips
[Reflection] Ensure Reflection is built as zippered on catalyst
2 parents 8e0e51a + 057afd9 commit 24d8ec5

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

stdlib/public/Reflection/Sources/Reflection/CMakeLists.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,9 @@ add_swift_target_library(swiftReflection ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} IS_
2626
SWIFT_COMPILE_FLAGS
2727
${SWIFT_STANDARD_LIBRARY_SWIFT_FLAGS}
2828
${SWIFT_REFLECTION_SWIFT_FLAGS}
29-
SWIFT_MODULE_DEPENDS _Runtime
30-
INSTALL_IN_COMPONENT stdlib)
29+
SWIFT_MODULE_DEPENDS
30+
_Runtime
31+
INSTALL_IN_COMPONENT
32+
stdlib
33+
MACCATALYST_BUILD_FLAVOR zippered
34+
)

stdlib/public/Reflection/Sources/_Runtime/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,7 @@ add_swift_target_library(swift_Runtime ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} IS_ST
7575
SWIFT_COMPILE_FLAGS
7676
${SWIFT_STANDARD_LIBRARY_SWIFT_FLAGS}
7777
${SWIFT_REFLECTION_SWIFT_FLAGS}
78-
INSTALL_IN_COMPONENT stdlib)
78+
INSTALL_IN_COMPONENT
79+
stdlib
80+
MACCATALYST_BUILD_FLAVOR zippered
81+
)

0 commit comments

Comments
 (0)