Skip to content

Commit f01ee69

Browse files
committed
[SR-1613][SourceKit] Include libdispatch
Several parts of SourceKit make use of libdispatch. Include its headers in order to allow those parts to build.
1 parent 122350d commit f01ee69

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tools/SourceKit/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,5 +500,10 @@ include_directories(BEFORE
500500
${SOURCEKIT_SOURCE_DIR}/include
501501
)
502502

503+
if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
504+
include_directories(AFTER
505+
${SWIFT_SOURCE_DIR}/../swift-corelibs-libdispatch)
506+
endif()
507+
503508
add_subdirectory(lib)
504509
add_subdirectory(tools)

0 commit comments

Comments
 (0)