glfw: README: update usage example
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
95d34e68ad
commit
05a2118ef5
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ const glfw = @import("libs/mach-glfw/build.zig");
|
|||
|
||||
pub fn build(b: *Builder) void {
|
||||
...
|
||||
exe.addPackagePath("glfw", "libs/mach-glfw/src/main.zig");
|
||||
exe.addPackage(glfw.pkg);
|
||||
glfw.link(b, exe, .{});
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue