Skip to content

Commit cd8760d

Browse files
committed
Fix cmake script
1 parent 3ff3ab7 commit cd8760d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

stdlib/public/Platform/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,14 @@ foreach(sdk ${SWIFT_SDKS})
157157
swift_install_in_component(FILES "${glibc_modulemap_out}"
158158
DESTINATION "lib/swift/${arch_subdir}"
159159
COMPONENT sdk-overlay)
160+
swift_install_in_component(FILES "${glibc_header_out}"
161+
DESTINATION "lib/swift/${arch_subdir}"
162+
COMPONENT sdk-overlay)
160163

161164
if(SWIFT_BUILD_STATIC_STDLIB)
165+
swift_install_in_component(FILES "${glibc_modulemap_out}"
166+
DESTINATION "lib/swift_static/${arch_subdir}"
167+
COMPONENT sdk-overlay)
162168
swift_install_in_component(FILES "${glibc_header_out}"
163169
DESTINATION "lib/swift_static/${arch_subdir}"
164170
COMPONENT sdk-overlay)

0 commit comments

Comments
 (0)