summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Swift/SwiftLibraryModuleCommand.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/Swift/SwiftLibraryModuleCommand.cmake')
-rw-r--r--Tests/RunCMake/Swift/SwiftLibraryModuleCommand.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/Swift/SwiftLibraryModuleCommand.cmake b/Tests/RunCMake/Swift/SwiftLibraryModuleCommand.cmake
index af4aede..700edf0 100644
--- a/Tests/RunCMake/Swift/SwiftLibraryModuleCommand.cmake
+++ b/Tests/RunCMake/Swift/SwiftLibraryModuleCommand.cmake
@@ -6,6 +6,7 @@ enable_language(Swift)
add_library(StaticLibrary STATIC L.swift)
add_library(DynamicLibrary SHARED L.swift)
+set_target_properties(DynamicLibrary PROPERTIES INSTALL_NAME_DIR "@rpath")
add_executable(Executable E.swift)
add_dependencies(DynamicLibrary StaticLibrary)