Skip to content

Commit 27ae565

Browse files
authored
[CMake] Copy headers to known directory for direct client test builds (#4989)
1 parent 1181ecb commit 27ae565

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Sources/CoreFoundation/CMakeLists.txt

+6
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,12 @@ target_link_libraries(CoreFoundation
117117

118118
set_property(GLOBAL APPEND PROPERTY Foundation_EXPORTS CoreFoundation)
119119

120+
# Copy Headers to known directory for direct client (XCTest) test builds
121+
file(COPY
122+
include/
123+
DESTINATION
124+
${CMAKE_BINARY_DIR}/_CModulesForClients/CoreFoundation)
125+
120126
install(DIRECTORY
121127
include/
122128
DESTINATION

0 commit comments

Comments
 (0)