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.
2 parents f85ca6c + b0a533a commit ad238ffCopy full SHA for ad238ff
cmake/modules/AddSwift.cmake
@@ -1026,14 +1026,12 @@ function(_add_swift_library_single target name)
1026
endforeach()
1027
endif()
1028
1029
- if(${SWIFTLIB_SINGLE_SDK} IN_LIST SWIFT_APPLE_PLATFORMS)
+ if(SWIFTLIB_SINGLE_SDK IN_LIST SWIFT_APPLE_PLATFORMS)
1030
set(install_name_dir "@rpath")
1031
1032
- if(SWIFTLIB_SINGLE_IS_STDLIB)
1033
- # Always use @rpath for XCTest.
1034
- if(NOT "${module_name}" STREQUAL "XCTest")
1035
- set(install_name_dir "${SWIFT_DARWIN_STDLIB_INSTALL_NAME_DIR}")
1036
- endif()
+ # Always use @rpath for XCTest
+ if(module_name STREQUAL "XCTest")
+ set(install_name_dir "@rpath")
1037
1038
1039
set_target_properties("${target}"
0 commit comments