Skip to content

Commit 4179ceb

Browse files
committed
Add a comment for the AddSwiftSourceKit.cmake change
1 parent 7f6afa0 commit 4179ceb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/SourceKit/cmake/modules/AddSwiftSourceKit.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,8 @@ macro(add_sourcekit_xpc_service name framework_target)
428428

429429
add_dependencies(${framework_target} ${name})
430430

431+
# This is necessary to avoid having an rpath with an absolute build directory.
432+
# Without this, such an rpath is added during build time and preserved at install time.
431433
set_target_properties(${name} PROPERTIES
432434
BUILD_WITH_INSTALL_RPATH On
433435
INSTALL_RPATH "@loader_path/../lib"

0 commit comments

Comments
 (0)