Skip to content

Commit 78d0639

Browse files
authored
Merge pull request swiftlang#24752 from Rostepher/swiftlang-module-install-name-dir
[Build System: CMake] Set the install_name_dir to @rpath for the SwiftLang module in SourceKit.
2 parents e43a9f5 + d332d21 commit 78d0639

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/SourceKit/tools/swift-lang/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ if(NOT SWIFT_SOURCEKIT_USE_INPROC_LIBRARY AND SWIFT_BUILD_STDLIB AND SWIFT_BUILD
3030
PRIVATE_LINK_LIBRARIES ${SOURCEKITD_LINK_LIBS}
3131
SWIFT_COMPILE_FLAGS ${EXTRA_COMPILE_FLAGS}
3232
INSTALL_IN_COMPONENT ${INSTALLED_COMP}
33+
DARWIN_INSTALL_NAME_DIR "@rpath"
3334
TARGET_SDKS ${SOURCEKIT_DEFAULT_TARGET_SDK}
3435
IS_STDLIB)
3536
endif()

0 commit comments

Comments
 (0)