Skip to content

Commit

Permalink
Update use of std.Build.Step.Compile.installHeadersDirectory()
Browse files Browse the repository at this point in the history
  • Loading branch information
linusg committed Apr 10, 2024
1 parent 5dcdfe3 commit f3c943f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ pub fn build(b: *std.Build) void {
lib.addIncludePath(.{ .path = "src" });
lib.linkLibC();
b.installArtifact(lib);
lib.installHeadersDirectory("include", "");
lib.installHeadersDirectory(.{ .path = "include" }, "", .{});

if (tests) {
buildExe(b, lib, .{
Expand Down

0 comments on commit f3c943f

Please sign in to comment.