From 10e4dc43eda1a292459bd385c40012b49b4b4fc2 Mon Sep 17 00:00:00 2001 From: Jeremy Schonfeld Date: Mon, 24 Jun 2024 11:50:16 -0700 Subject: [PATCH] [CMake] Copy headers to known directory for direct client test builds --- Sources/CoreFoundation/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Sources/CoreFoundation/CMakeLists.txt b/Sources/CoreFoundation/CMakeLists.txt index 5090f4bc6a..23586ad73d 100644 --- a/Sources/CoreFoundation/CMakeLists.txt +++ b/Sources/CoreFoundation/CMakeLists.txt @@ -117,6 +117,12 @@ target_link_libraries(CoreFoundation set_property(GLOBAL APPEND PROPERTY Foundation_EXPORTS CoreFoundation) +# Copy Headers to known directory for direct client (XCTest) test builds +file(COPY + include/ + DESTINATION + ${CMAKE_BINARY_DIR}/_CModulesForClients/CoreFoundation) + install(DIRECTORY include/ DESTINATION