From 583914126fd61a19a9ed97a2e8aa4eec422c06ca Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Fri, 18 Aug 2023 12:05:13 +0200 Subject: [PATCH] build: -Denable-ios-sdk implies -Denable-macos-sdk --- build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.zig b/build.zig index f7a06df82b..5b5f0004cc 100644 --- a/build.zig +++ b/build.zig @@ -128,8 +128,8 @@ pub fn build(b: *std.Build) !void { "llvm-has-xtensa", "Whether LLVM has the experimental target xtensa enabled", ) orelse false; - const enable_macos_sdk = b.option(bool, "enable-macos-sdk", "Run tests requiring presence of macOS SDK and frameworks") orelse false; const enable_ios_sdk = b.option(bool, "enable-ios-sdk", "Run tests requiring presence of iOS SDK and frameworks") orelse false; + const enable_macos_sdk = b.option(bool, "enable-macos-sdk", "Run tests requiring presence of macOS SDK and frameworks") orelse enable_ios_sdk; const enable_symlinks_windows = b.option(bool, "enable-symlinks-windows", "Run tests requiring presence of symlinks on Windows") orelse false; const config_h_path_option = b.option([]const u8, "config_h", "Path to the generated config.h");