File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -70,8 +70,9 @@ add_library(LanguageServerProtocol
70
70
)
71
71
set_target_properties (LanguageServerProtocol PROPERTIES
72
72
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY} )
73
- if (NOT CMAKE_SYSTEM_NAME STREQUAL Windows )
73
+ if (NOT CMAKE_SYSTEM_NAME STREQUAL Darwin )
74
74
target_link_libraries (LanguageServerProtocol PUBLIC
75
+ swiftDispatch
75
76
Foundation )
76
77
endif ()
77
78
Original file line number Diff line number Diff line change @@ -39,6 +39,10 @@ target_link_libraries(SourceKitLSP PUBLIC
39
39
SKSwiftPMWorkspace
40
40
SourceKitD
41
41
TSCUtility )
42
+ if (NOT CMAKE_SYSTEM_NAME STREQUAL Darwin )
43
+ target_link_libraries (SourceKitLSP PRIVATE
44
+ FoundationXML )
45
+ endif ()
42
46
43
47
if (BUILD_SHARED_LIBS )
44
48
get_swift_host_arch (swift_arch )
Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ target_link_libraries(sourcekit-lsp PRIVATE
11
11
LanguageServerProtocolJSONRPC
12
12
SourceKitLSP
13
13
TSCUtility )
14
+ if (NOT CMAKE_SYSTEM_NAME STREQUAL Darwin )
15
+ target_link_libraries (sourcekit-lsp PRIVATE
16
+ FoundationXML )
17
+ endif ()
14
18
15
19
install (TARGETS sourcekit-lsp
16
20
DESTINATION bin )
You can’t perform that action at this time.
0 commit comments