Skip to content

Commit

Permalink
update to Zig 2024.05
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
  • Loading branch information
emidoots committed Jun 2, 2024
1 parent 3266fb4 commit 22bb51a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# Zig stuff
zig-*
.zig-cache
8 changes: 4 additions & 4 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ pub fn build(b: *std.Build) void {
});

// contains only GLX headers!
lib.installHeadersDirectory("GL", "GL");
lib.installHeadersDirectory("X11", "X11");
lib.installHeadersDirectory("xcb", "xcb");
lib.installHeadersDirectory("xkbcommon", "xkbcommon");
lib.installHeadersDirectory(b.path("GL"), "GL", .{});
lib.installHeadersDirectory(b.path("X11"), "X11", .{});
lib.installHeadersDirectory(b.path("xcb"), "xcb", .{});
lib.installHeadersDirectory(b.path("xkbcommon"), "xkbcommon", .{});

b.installArtifact(lib);
}

0 comments on commit 22bb51a

Please sign in to comment.