CMake: allow to build SwiftDirectRuntime when stdlib build is disabled

Addresses rdar://164174444
This commit is contained in:
Eric Miotto
2025-11-06 08:51:00 -08:00
parent cc8e6fd877
commit 7f32fb0ef6

View File

@@ -1550,6 +1550,10 @@ else()
# Some of the things below depend on the threading library
add_subdirectory(stdlib/public/Threading)
if(SWIFT_BUILD_SWIFT_DIRECT_RUNTIME)
add_subdirectory(stdlib/public/SwiftDirectRuntime)
endif()
if(SWIFT_BUILD_STDLIB_EXTRA_TOOLCHAIN_CONTENT)
add_subdirectory(stdlib/toolchain)