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 f76539f commit f3f8adeCopy full SHA for f3f8ade
cmake/modules/AddSwiftUnittests.cmake
@@ -40,7 +40,9 @@ function(add_swift_unittest test_dirname)
40
endif()
41
42
if("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
43
- # Add an @rpath to the swift library directory.
+ # Add an @rpath to the swift library directory
44
+ # and one to the OS dylibs we require but
45
+ # are not building ourselves (e.g Foundation overlay)
46
set_target_properties(${test_dirname} PROPERTIES
47
BUILD_RPATH "${SWIFT_LIBRARY_OUTPUT_INTDIR}/swift/macosx;${SWIFT_DARWIN_STDLIB_INSTALL_NAME_DIR}")
48
# Force all the swift libraries to be found via rpath.
@@ -87,4 +89,3 @@ function(add_swift_unittest test_dirname)
87
89
88
90
endfunction()
91
-
0 commit comments