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.
INSTALL_NAME_DIR
_add_swift_host_library_single
1 parent a8d9ab1 commit bd60845Copy full SHA for bd60845
cmake/modules/AddSwift.cmake
@@ -821,16 +821,9 @@ function(_add_swift_host_library_single target name)
821
LIBRARY_DIR ${SWIFT_LIBRARY_OUTPUT_INTDIR})
822
823
if(SWIFTLIB_SINGLE_SDK IN_LIST SWIFT_APPLE_PLATFORMS)
824
- set(install_name_dir "@rpath")
825
-
826
- # Always use @rpath for XCTest
827
- if(module_name STREQUAL "XCTest")
828
829
- endif()
830
831
set_target_properties("${target}"
832
PROPERTIES
833
- INSTALL_NAME_DIR "${install_name_dir}")
+ INSTALL_NAME_DIR "@rpath")
834
elseif("${SWIFTLIB_SINGLE_SDK}" STREQUAL "LINUX")
835
836
0 commit comments