File tree Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -513,6 +513,10 @@ if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
513
513
set_target_properties (dispatch PROPERTIES
514
514
IMPORTED_LOCATION ${SWIFT_PATH_TO_LIBDISPATCH_BUILD} /src/.libs/libdispatch.so )
515
515
516
+ add_library (swiftCore SHARED IMPORTED )
517
+ set_target_properties (swiftCore PROPERTIES
518
+ IMPORTED_LOCATION ${SOURCEKIT_BINARY_DIR} /lib/swift/linux/libswiftCore.so )
519
+
516
520
set (SOURCEKIT_NEED_EXPLICIT_LIBDISPATCH TRUE )
517
521
endif ()
518
522
Original file line number Diff line number Diff line change 5
5
endif ()
6
6
7
7
if (SOURCEKIT_NEED_EXPLICIT_LIBDISPATCH )
8
- set (SOURCEKITD_TEST_DEPEND ${SOURCEKITD_TEST_DEPEND} dispatch )
8
+ set (SOURCEKITD_TEST_DEPEND ${SOURCEKITD_TEST_DEPEND} dispatch swiftCore )
9
9
endif ()
10
10
11
11
add_sourcekit_executable (complete-test
Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ if(HAVE_UNICODE_LIBEDIT)
8
8
set (SOURCEKITD_REPL_DEPEND sourcekitd )
9
9
endif ()
10
10
11
+ if (SOURCEKIT_NEED_EXPLICIT_LIBDISPATCH )
12
+ set (SOURCEKITD_REPL_DEPEND ${SOURCEKITD_REPL_DEPEND} dispatch swiftCore )
13
+ endif ()
14
+
11
15
add_sourcekit_executable (sourcekitd-repl
12
16
sourcekitd-repl.cpp
13
17
DEPENDS ${SOURCEKITD_REPL_DEPEND} edit
Original file line number Diff line number Diff line change 9
9
endif ()
10
10
11
11
if (SOURCEKIT_NEED_EXPLICIT_LIBDISPATCH )
12
- set (SOURCEKITD_TEST_DEPEND ${SOURCEKITD_TEST_DEPEND} dispatch )
12
+ set (SOURCEKITD_TEST_DEPEND ${SOURCEKITD_TEST_DEPEND} dispatch swiftCore )
13
13
endif ()
14
14
15
15
add_sourcekit_executable (sourcekitd-test
You can’t perform that action at this time.
0 commit comments