Merge pull request #28338 from compnerd/explictly-explicit

build: remove `SWIFT_NEED_EXPLICIT_LIBDISPATCH` (NFC)
This commit is contained in:
Saleem Abdulrasool
2019-11-19 11:46:59 -08:00
committed by GitHub
8 changed files with 27 additions and 19 deletions

View File

@@ -11,7 +11,9 @@ target_link_libraries(SourceKitSupport PRIVATE
swiftSyntax
clangBasic
clangRewrite)
if(SWIFT_NEED_EXPLICIT_LIBDISPATCH)
target_link_libraries(SourceKitSupport INTERFACE dispatch BlocksRuntime)
if(NOT CMAKE_SYSTEM_NAME STREQUAL Darwin)
target_link_libraries(SourceKitSupport INTERFACE
dispatch
BlocksRuntime)
endif()