Skip to content

Commit 573fb94

Browse files
authored
Merge pull request #61528 from DougGregor/cmake-sourcekit-absolute-path-swift-runtime
[CMake] Use an absolute path when adding Swift runtime paths.
2 parents 74ffef4 + 77dfffc commit 573fb94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/SourceKit/cmake/modules/AddSwiftSourceKit.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ macro(add_sourcekit_executable name)
341341
endif()
342342

343343
set(RPATH_LIST)
344-
add_sourcekit_swift_runtime_link_flags(${name} "../../../.." ${SKEXEC_HAS_SWIFT_MODULES})
344+
add_sourcekit_swift_runtime_link_flags(${name} ${SOURCEKIT_LIBRARY_OUTPUT_INTDIR} ${SKEXEC_HAS_SWIFT_MODULES})
345345

346346
endmacro()
347347

0 commit comments

Comments
 (0)