From 0bdedd9d8a81b1c710fa13a01102af1c4bc37f22 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Thu, 20 Sep 2018 21:06:54 -0700 Subject: [PATCH] build: stage a copy in the old installation location The shared library was previously built and installed into the swift resource directory. Replicate this behaviour for the integration tests. --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6eac10b2a..e76bd2b70 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -142,4 +142,9 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_SHARED_LIBRARY_PREFIX}XCTest${CMAKE_SHARED_LIBRARY_SUFFIX} DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}) +# NOTE(compnerd) stage a compatibility copy in the swift resource dir +install(FILES + ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_SHARED_LIBRARY_PREFIX}XCTest${CMAKE_SHARED_LIBRARY_SUFFIX} + DESTINATION + ${CMAKE_INSTALL_FULL_LIBDIR}/swift/${SWIFT_OS})