diff options
Diffstat (limited to 'build.zig')
-rw-r--r-- | build.zig | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -37,12 +37,12 @@ pub fn build(b: *std.Build) void { "-Wextra", }, }); - lib.addIncludePath(.{ .path = "depends/mgl/include" }); + lib.addIncludePath(b.path("depends/mgl/include")); lib.linkSystemLibrary("x11"); lib.linkSystemLibrary("xrender"); lib.linkSystemLibrary("xrandr"); lib.linkLibC(); - lib.installHeadersDirectory(.{ .path = "depends/mgl/include" }, ".", .{}); + lib.installHeadersDirectory(b.path("depends/mgl/include"), ".", .{}); lib.want_lto = optimize != std.builtin.OptimizeMode.Debug; b.installArtifact(lib); |