We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bd9e76 commit 338d661Copy full SHA for 338d661
CMakeLists.txt
@@ -56,6 +56,10 @@ if(NOT CMAKE_SYSTEM_NAME STREQUAL Darwin)
56
target_link_libraries(XCTest PRIVATE
57
dispatch
58
Foundation)
59
+ if(NOT CMAKE_SYSTEM_NAME STREQUAL Windows)
60
+ target_link_options(XCTest PRIVATE "SHELL:-no-toolchain-stdlib-rpath")
61
+ set_target_properties(XCTest PROPERTIES INSTALL_RPATH "$ORIGIN")
62
+ endif()
63
endif()
64
set_target_properties(XCTest PROPERTIES
65
Swift_MODULE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/swift
0 commit comments