mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert "build: remove SWIFT_NEED_EXPLICIT_LIBDISPATCH (NFC)"
This reverts commit 18570c723f because it
breaks building on platforms that do not want or need libdispatch.
This commit is contained in:
@@ -27,7 +27,6 @@ endif()
|
||||
|
||||
set_property(TARGET swift-syntax-parser-test APPEND_STRING PROPERTY
|
||||
COMPILE_FLAGS " -fblocks")
|
||||
if(NOT CMAKE_SYSTEM_NAME STREQUAL Darwin)
|
||||
target_link_libraries(swift-syntax-parser-test PRIVATE
|
||||
BlocksRuntime)
|
||||
if(SWIFT_NEED_EXPLICIT_LIBDISPATCH)
|
||||
target_link_libraries(swift-syntax-parser-test PRIVATE BlocksRuntime)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user