Skip to content

Commit

Permalink
Add headers to artifact include tree (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvande authored Jan 2, 2025
1 parent da1977c commit 4e15633
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ pub fn build(b: *std.Build) void {
.optimize = optimize,
});
b.installArtifact(glfw);
glfw.installHeadersDirectory(b.path("libs/glfw/include"), "", .{});

glfw.addIncludePath(b.path("libs/glfw/include"));
glfw.linkLibC();
Expand Down

0 comments on commit 4e15633

Please sign in to comment.