From c4b0e6223ffa07bac74e347c34c3ba12d345d233 Mon Sep 17 00:00:00 2001 From: Alastair Houghton Date: Wed, 8 Mar 2023 10:02:23 +0000 Subject: [PATCH] [Remote Mirror] Only build under the control of SWIFT_BUILD_REMOTE_MIRROR. Remote Mirror should be building under the control of its own flag, not trying to hijack the standard library build flags. If presets want (or do not want) remote mirror, they should set its build flag appropriately. (The default is to build it, so mostly this means some things should be disabling it. I'd already done the work for that as part of previous PRs, but apparently stopped short of completely dissociating it from `SWIFT_BUILD_STDLIB`, which was an error as it means that the minimal preset and things based on it are currently slightly broken.) rdar://106415217 --- stdlib/public/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/public/CMakeLists.txt b/stdlib/public/CMakeLists.txt index 8ee72243eb785..bf998251695bc 100644 --- a/stdlib/public/CMakeLists.txt +++ b/stdlib/public/CMakeLists.txt @@ -162,7 +162,7 @@ if(SWIFT_BUILD_STDLIB) add_subdirectory(Backtracing) endif() -if(SWIFT_BUILD_STDLIB OR SWIFT_BUILD_REMOTE_MIRROR) +if(SWIFT_BUILD_REMOTE_MIRROR) add_subdirectory(RemoteInspection) add_subdirectory(SwiftRemoteMirror) endif()