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 bd6b20e4a6
commit b5618e8501

View file

@ -54,7 +54,11 @@ Then in your `build.zig` add:
```zig
...
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/mach-glfw/libs/xcode-frameworks/build.zig"),
});
pub fn build(b: *Build) !void {
...