You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
577 B
15 lines
577 B
5 years ago
|
diff --git a/swift-corelibs-xctest/CMakeLists.txt b/swift-corelibs-xctest/CMakeLists.txt
|
||
|
index 289f940..9830bbb 100644
|
||
|
--- a/swift-corelibs-xctest/CMakeLists.txt
|
||
|
+++ b/swift-corelibs-xctest/CMakeLists.txt
|
||
|
@@ -50,7 +50,9 @@ add_library(XCTest
|
||
|
target_link_libraries(XCTest PRIVATE
|
||
|
dispatch
|
||
|
Foundation)
|
||
|
+target_link_options(XCTest PRIVATE "SHELL:-no-toolchain-stdlib-rpath")
|
||
|
set_target_properties(XCTest PROPERTIES
|
||
|
+ INSTALL_RPATH "$ORIGIN"
|
||
|
Swift_MODULE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/swift
|
||
|
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_CURRENT_BINARY_DIR}/swift)
|
||
|
|