Skip to content

Commit 65d0eea

Browse files
authored
Merge pull request #224 from compnerd/stage
build: stage a copy in the old installation location
2 parents b27fd5f + 0bdedd9 commit 65d0eea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CMakeLists.txt

+5
Original file line numberDiff line numberDiff line change
@@ -142,4 +142,9 @@ install(FILES
142142
${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_SHARED_LIBRARY_PREFIX}XCTest${CMAKE_SHARED_LIBRARY_SUFFIX}
143143
DESTINATION
144144
${CMAKE_INSTALL_FULL_LIBDIR})
145+
# NOTE(compnerd) stage a compatibility copy in the swift resource dir
146+
install(FILES
147+
${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_SHARED_LIBRARY_PREFIX}XCTest${CMAKE_SHARED_LIBRARY_SUFFIX}
148+
DESTINATION
149+
${CMAKE_INSTALL_FULL_LIBDIR}/swift/${SWIFT_OS})
145150

0 commit comments

Comments
 (0)