Skip to content

Commit 3211817

Browse files
authored
[CMake] Copy legacy layouts for module architectures (#34921)
This supports properly the new dependencies introduced with #34846. Addresses rdar://71851272
1 parent b8581cb commit 3211817

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/toolchain/legacy_layouts/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
add_custom_target("copy-legacy-layouts" ALL)
22

33
foreach(sdk ${SWIFT_SDKS})
4-
foreach(arch ${SWIFT_SDK_${sdk}_ARCHITECTURES})
4+
foreach(arch ${SWIFT_SDK_${sdk}_ARCHITECTURES} ${SWIFT_SDK_${sdk}_MODULE_ARCHITECTURES})
55
set(platform "${SWIFT_SDK_${sdk}_LIB_SUBDIR}")
66

77
set(input "${SWIFT_SOURCE_DIR}/stdlib/toolchain/legacy_layouts/${platform}/layouts-${arch}.yaml")

0 commit comments

Comments
 (0)