all: update to latest mach-glfw build API

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2023-07-03 22:11:06 -07:00
parent a59531ee84
commit f4c72c3f27
5 changed files with 31 additions and 11 deletions

View file

@ -1,6 +1,10 @@
const std = @import("std");
const Build = std.Build;
const glfw = @import("libs/mach-glfw/build.zig");
const glfw = @import("libs/mach-glfw/sdk.zig").Sdk(.{
// TODO(build-system): This cannot be imported with the Zig package manager
// error: TarUnsupportedFileType
.xcode_frameworks = @import("libs/xcode-frameworks/build.zig"),
});
const gpu_dawn_sdk = @import("sdk.zig");
pub fn build(b: *Build) !void {