Skip to content

Commit 4a6aa00

Browse files
authored
[CMake] Copy headers to known directory for direct client test builds (#699)
1 parent 7fa9d1f commit 4a6aa00

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Sources/_FoundationCShims/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ else()
2727
set(install_directory swift_static)
2828
endif()
2929

30+
# Copy Headers to known directory for direct client (XCTest) test builds
31+
file(COPY
32+
include/
33+
DESTINATION
34+
${CMAKE_BINARY_DIR}/_CModulesForClients/_FoundationCShims)
35+
3036
# Install headers
3137
install(DIRECTORY
3238
include/

0 commit comments

Comments
 (0)