Skip to content

Commit 7f32fb0

Browse files
committed
CMake: allow to build SwiftDirectRuntime when stdlib build is disabled
Addresses rdar://164174444
1 parent cc8e6fd commit 7f32fb0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1550,6 +1550,10 @@ else()
15501550
# Some of the things below depend on the threading library
15511551
add_subdirectory(stdlib/public/Threading)
15521552

1553+
if(SWIFT_BUILD_SWIFT_DIRECT_RUNTIME)
1554+
add_subdirectory(stdlib/public/SwiftDirectRuntime)
1555+
endif()
1556+
15531557
if(SWIFT_BUILD_STDLIB_EXTRA_TOOLCHAIN_CONTENT)
15541558
add_subdirectory(stdlib/toolchain)
15551559

0 commit comments

Comments
 (0)