Skip to content

Commit

Permalink
Fix use of addIncludePath()
Browse files Browse the repository at this point in the history
  • Loading branch information
linusg authored and joachimschmidt557 committed Aug 2, 2023
1 parent 7c5d3ef commit 180e8d1
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 @@ -65,7 +65,7 @@ pub fn build(b: *Build) void {
.target = target,
.optimize = optimize,
});
c_example.addIncludePath("include");
c_example.addIncludePath(.{ .path = "include" });
c_example.linkLibC();
c_example.linkLibrary(lib);

Expand Down

0 comments on commit 180e8d1

Please sign in to comment.