File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -197,6 +197,13 @@ macro(add_sourcekit_library name)
197
197
endif ()
198
198
endif ()
199
199
200
+ if ("${CMAKE_SYSTEM_NAME} " STREQUAL "Linux" )
201
+ if (SOURCEKITLIB_SHARED )
202
+ set_target_properties (${name} PROPERTIES BUILD_WITH_INSTALL_RPATH TRUE )
203
+ set_target_properties (${name} PROPERTIES INSTALL_RPATH "$ORIGIN/../lib/swift/linux:/usr/lib/swift/linux" )
204
+ endif ()
205
+ endif ()
206
+
200
207
if ("${SOURCEKITLIB_INSTALL_IN_COMPONENT} " STREQUAL "" )
201
208
if (SOURCEKITLIB_SHARED )
202
209
set (SOURCEKITLIB_INSTALL_IN_COMPONENT tools )
Original file line number Diff line number Diff line change @@ -708,7 +708,7 @@ install-llbuild
708
708
install-swiftpm
709
709
install-xctest
710
710
install-prefix =/usr
711
- swift-install-components =autolink-driver; compiler;clang-builtin-headers;stdlib;swift-remote-mirror;sdk-overlay;license
711
+ swift-install-components =autolink-driver; compiler;clang-builtin-headers;stdlib;swift-remote-mirror;sdk-overlay;license;sourcekit-inproc
712
712
build-swift-static-stdlib
713
713
build-swift-static-sdk-overlay
714
714
build-swift-stdlib-unittest-extra
You can’t perform that action at this time.
0 commit comments