Files
swift-mirror/tools/SourceKit/lib/Support/CMakeLists.txt
Saleem Abdulrasool 1d5947b3bd build: remove SWIFT_NEEDS_EXPLICIT_LIBDISPATCH
Restore the previous commit which somehow passed the buildbot given a
missing condition on the sub-configure for libdispatch.  This makes it
more explicit as to what the desire is; the variable was being used to
serve as a proxy for whether the build is not on a Darwin target.
2019-11-20 08:27:30 -08:00

20 lines
430 B
CMake

add_sourcekit_library(SourceKitSupport
Concurrency-libdispatch.cpp
FuzzyStringMatcher.cpp
Logging.cpp
ImmutableTextBuffer.cpp
ThreadSafeRefCntPtr.cpp
Tracing.cpp
UIDRegistry.cpp)
target_link_libraries(SourceKitSupport PRIVATE
swiftBasic
swiftSyntax
clangBasic
clangRewrite)
if(NOT CMAKE_SYSTEM_NAME STREQUAL Darwin)
target_link_libraries(SourceKitSupport INTERFACE
dispatch
BlocksRuntime)
endif()