Skip to content

Commit 1d5de34

Browse files
committed
[cxx-interop] Move CxxShim header from the SDK to the toolchain
rdar://105799283
1 parent 75d0e99 commit 1d5de34

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

stdlib/public/Cxx/cxxshim/CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,16 @@ foreach(sdk ${SWIFT_SDKS})
4343

4444
swift_install_in_component(FILES libcxxshim.modulemap libcxxshim.h
4545
DESTINATION "lib/swift/${arch_subdir}"
46-
COMPONENT sdk-overlay)
46+
COMPONENT compiler)
4747
if(SWIFT_BUILD_STATIC_STDLIB)
4848
swift_install_in_component(FILES libcxxshim.modulemap libcxxshim.h
4949
DESTINATION "lib/swift_static/${arch_subdir}"
50-
COMPONENT sdk-overlay)
50+
COMPONENT compiler)
5151
endif()
5252
endforeach()
5353
endforeach()
5454

5555
add_custom_target(libcxxshim_modulemap DEPENDS ${libcxxshim_modulemap_target_list})
5656
set_property(TARGET libcxxshim_modulemap PROPERTY FOLDER "Miscellaneous")
5757
add_dependencies(sdk-overlay libcxxshim_modulemap)
58+
add_dependencies(compiler libcxxshim_modulemap)

0 commit comments

Comments
 (0)