Skip to content

Commit c9f23ce

Browse files
author
Stephen Gutekanst
committed
update to latest Zig API
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
1 parent ad1c489 commit c9f23ce

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build.zig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ pub fn build(b: *std.Build) void {
1212
});
1313

1414
// contains only GLX headers!
15-
lib.installHeadersDirectory("GL", "GL");
16-
lib.installHeadersDirectory("X11", "X11");
17-
lib.installHeadersDirectory("xcb", "xcb");
18-
lib.installHeadersDirectory("xkbcommon", "xkbcommon");
15+
lib.installHeadersDirectory(b.path("GL"), "GL", .{});
16+
lib.installHeadersDirectory(b.path("X11"), "X11", .{});
17+
lib.installHeadersDirectory(b.path("xcb"), "xcb", .{});
18+
lib.installHeadersDirectory(b.path("xkbcommon"), "xkbcommon", .{});
1919

2020
b.installArtifact(lib);
2121
}

0 commit comments

Comments
 (0)