Skip to content

Commit 109dc73

Browse files
authored
[CMake] Copy headers to known directory for direct client test builds (#26)
1 parent 2ba3887 commit 109dc73

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

icuSources/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ endif()
3030
set_target_properties(_FoundationICU PROPERTIES
3131
INSTALL_RPATH "$ORIGIN")
3232

33+
# Copy Headers to known directory for direct client (XCTest) test builds
34+
file(COPY
35+
include/
36+
DESTINATION
37+
${CMAKE_BINARY_DIR}/_CModulesForClients)
38+
3339
# Install binary
3440
install(TARGETS _FoundationICU
3541
ARCHIVE DESTINATION lib/${install_directory}/${SWIFT_SYSTEM_NAME}

0 commit comments

Comments
 (0)