Skip to content

Commit 0f41013

Browse files
committed
[Build System: CMake] Set the install_name_dir to @rpath for the SwiftLang module in SourceKit.
(cherry picked from commit d332d21)
1 parent 963b481 commit 0f41013

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
@@ -28,6 +28,7 @@ if(NOT SWIFT_SOURCEKIT_USE_INPROC_LIBRARY AND SWIFT_BUILD_STDLIB AND SWIFT_BUILD
2828
PRIVATE_LINK_LIBRARIES ${SOURCEKITD_LINK_LIBS}
2929
SWIFT_COMPILE_FLAGS ${EXTRA_COMPILE_FLAGS}
3030
INSTALL_IN_COMPONENT ${INSTALLED_COMP}
31+
DARWIN_INSTALL_NAME_DIR "@rpath"
3132
TARGET_SDKS ${SOURCEKIT_DEFAULT_TARGET_SDK}
3233
IS_STDLIB)
3334
endif()

0 commit comments

Comments
 (0)