mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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.
20 lines
430 B
CMake
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()
|
|
|