From 7f32fb0ef645fe71171003837153d59386421aa9 Mon Sep 17 00:00:00 2001 From: Eric Miotto Date: Thu, 6 Nov 2025 08:51:00 -0800 Subject: [PATCH] CMake: allow to build SwiftDirectRuntime when stdlib build is disabled Addresses rdar://164174444 --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f91dfeacb5e6..ab3db04ebca5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)