Skip to content

Commit 9b2e391

Browse files
committed
build: add support for new build layout for libdispatch
Stage the changes needed in the include path for libdispatch with the new CMake support.
1 parent b6d6776 commit 9b2e391

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ add_swift_library(XCTest
9898

9999
-I${XCTEST_PATH_TO_LIBDISPATCH_SOURCE}
100100
-I${XCTEST_PATH_TO_LIBDISPATCH_BUILD}/src/swift
101+
-I${XCTEST_PATH_TO_LIBDISPATCH_BUILD}/src/swift/swift
101102
-Xcc -fblocks
102103

103104
-I${XCTEST_PATH_TO_FOUNDATION_BUILD}/swift

Tests/Functional/lit.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ else:
9494
'-Xcc', '-fblocks',
9595
'-I', libdispatch_src_dir,
9696
'-I', libdispatch_overlay_dir,
97+
'-I', os.path.join(libdispatch_overlay_dir, 'swift'),
9798
'-L', libdispatch_build_dir,
9899
'-L', os.path.join(libdispatch_build_dir, 'src'),
99100
])

0 commit comments

Comments
 (0)