Skip to content

Commit bb2c935

Browse files
committed
Runtimes: add an export for ConcurrencyInternalShims
This is required to use the SwiftCore package externally via `find_package` when Concurrency is enabled. We are otherwise unable to process the CMakeLists due to the missing dependency from the export set.
1 parent deb1d96 commit bb2c935

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
add_library(swiftConcurrencyInternalShims INTERFACE)
22
target_include_directories(swiftConcurrencyInternalShims INTERFACE
3-
${CMAKE_CURRENT_SOURCE_DIR})
3+
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
4+
5+
install(TARGETS swiftConcurrencyInternalShims
6+
EXPORT SwiftCoreTargets
7+
COMPONENT SwiftCore_runtime)
8+

0 commit comments

Comments
 (0)