gpu-dawn: fix building for macOS 11 targets (fixes hexops/mach#610)
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
c62bae6edc
commit
a02be34c07
1 changed files with 1 additions and 1 deletions
|
|
@ -222,7 +222,7 @@ pub fn Sdk(comptime deps: anytype) type {
|
|||
|
||||
// If min. target macOS version is lesser than the min version we have available, then
|
||||
// our binary is incompatible with the target.
|
||||
const min_available = std.SemanticVersion{ .major = 12, .minor = 0, .patch = std.math.maxInt(u32) };
|
||||
const min_available = std.SemanticVersion{ .major = 11, .minor = 0, .patch = std.math.maxInt(u32) };
|
||||
if (target.os.version_range.semver.min.order(min_available) == .lt) break :blk false;
|
||||
break :blk true;
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue