aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2023-08-18 12:05:13 +0200
committerJakub Konka <kubkon@jakubkonka.com>2023-08-18 12:05:13 +0200
commit583914126fd61a19a9ed97a2e8aa4eec422c06ca (patch)
tree10b4ff30d897dd2a7a0708816ab3d95cecf3c582 /build.zig
parentf4afc6525b256bda323a8e3b38ed4ba2bd7ebd68 (diff)
downloadzig-583914126fd61a19a9ed97a2e8aa4eec422c06ca.tar.gz
zig-583914126fd61a19a9ed97a2e8aa4eec422c06ca.zip
build: -Denable-ios-sdk implies -Denable-macos-sdk
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig2
1 files changed, 1 insertions, 1 deletions
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");