Skip to content

Commit 9a81152

Browse files
authored
Merge pull request #82576 from compnerd/interfaces
Runtimes: add interface include directories for _Concurrency
2 parents b99a322 + e2f318a commit 9a81152

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Runtimes/Core/Concurrency/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ target_include_directories(swift_Concurrency PRIVATE
122122
# FIXME: grant access to `runtime/CMakeConfig.h` which should be available
123123
# through the swiftRuntime target.
124124
"${PROJECT_BINARY_DIR}/include")
125+
# FIXME: Why is this not implicitly in the interface flags?
126+
target_include_directories(swift_Concurrency INTERFACE
127+
"$<$<COMPILE_LANGUAGE:Swift>:$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/${SwiftCore_INSTALL_SWIFTMODULEDIR}>>")
125128
target_link_libraries(swift_Concurrency PRIVATE
126129
swiftShims
127130
swiftConcurrencyInternalShims

0 commit comments

Comments
 (0)