Skip to content

Commit f4230e3

Browse files
authored
Merge pull request #64218 from compnerd/install-auxfiles
Platform: install Windows auxiliary files
2 parents 462542e + 90cacaa commit f4230e3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

stdlib/public/Platform/CMakeLists.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,3 +217,13 @@ endforeach()
217217
add_custom_target(glibc_modulemap DEPENDS ${glibc_modulemap_target_list})
218218
set_property(TARGET glibc_modulemap PROPERTY FOLDER "Miscellaneous")
219219
add_dependencies(sdk-overlay glibc_modulemap)
220+
221+
if(WINDOWS IN_LIST SWIFT_SDKS)
222+
swift_install_in_component(FILES
223+
ucrt.modulemap
224+
vcruntime.apinotes
225+
vcruntime.modulemap
226+
winsdk.modulemap
227+
DESTINATION "share"
228+
COMPONENT sdk-overlay)
229+
endif()

0 commit comments

Comments
 (0)