termux-packages/packages/swift/swift-corelibs-xctest-CMake...

13 lines
535 B
Diff
Raw Normal View History

diff --git a/swift-corelibs-xctest/CMakeLists.txt b/swift-corelibs-xctest/CMakeLists.txt
2020-09-07 18:23:03 +02:00
index 531e7c0..589930f 100644
--- a/swift-corelibs-xctest/CMakeLists.txt
+++ b/swift-corelibs-xctest/CMakeLists.txt
2021-01-29 15:04:54 +01:00
@@ -58,6 +58,7 @@ if(NOT CMAKE_SYSTEM_NAME STREQUAL Darwin)
2020-09-07 18:23:03 +02:00
Foundation)
2021-01-29 15:04:54 +01:00
if(NOT CMAKE_SYSTEM_NAME STREQUAL Windows)
target_link_options(XCTest PRIVATE "SHELL:-no-toolchain-stdlib-rpath")
2020-09-07 18:23:03 +02:00
+ set_target_properties(XCTest PROPERTIES INSTALL_RPATH "$ORIGIN")
2021-01-29 15:04:54 +01:00
endif()
2020-09-07 18:23:03 +02:00
endif()
set_target_properties(XCTest PROPERTIES