We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4926e24 + 7b06a04 commit f509330Copy full SHA for f509330
tools/SourceKit/tools/sourcekitd/lib/API/CMakeLists.txt
@@ -23,10 +23,10 @@ set(sourcekitdAPI_NonDarwin_InProc_sources
23
sourcekitdAPI-InProc.cpp)
24
set(LLVM_OPTIONAL_SOURCES ${sourcekitdAPI_Darwin_sources} ${sourcekitdAPI_NonDarwin_InProc_sources})
25
26
-if(SWIFT_SOURCEKIT_USE_INPROC_LIBRARY)
27
- list(APPEND sourcekitdAPI_sources ${sourcekitdAPI_NonDarwin_InProc_sources})
28
-elseif(APPLE)
+if(APPLE AND HAVE_XPC_H)
29
list(APPEND sourcekitdAPI_sources ${sourcekitdAPI_Darwin_sources})
+elseif(SWIFT_SOURCEKIT_USE_INPROC_LIBRARY)
+ list(APPEND sourcekitdAPI_sources ${sourcekitdAPI_NonDarwin_InProc_sources})
30
endif()
31
32
add_sourcekit_library(sourcekitdAPI
0 commit comments