From 7c801d599622301569cd3a4dd6c613729e4229ac 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 ClientRetainRelease 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 b924df77960c..07270be103e8 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_CLIENT_RETAIN_RELEASE) + add_subdirectory(stdlib/public/ClientRetainRelease) + endif() + if(SWIFT_BUILD_STDLIB_EXTRA_TOOLCHAIN_CONTENT) add_subdirectory(stdlib/toolchain)