glfw: prepare to use via package manager

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2023-07-06 22:30:29 -07:00
parent ee484e83ac
commit 81ff09af6b
7 changed files with 259 additions and 261 deletions

View file

@ -54,7 +54,7 @@ Then in your `build.zig` add:
```zig
...
const glfw = @import("libs/mach-glfw/sdk.zig").Sdk(.{
const glfw = @import("libs/mach-glfw/build.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"),