aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-07-24 16:34:17 +0200
committerdec05eba <dec05eba@protonmail.com>2024-07-24 16:34:17 +0200
commit24c93c8860e3a292f55a98f0b2da31a3e90f94fb (patch)
treef475b4425dbee3930f73f117a239c0b325b1ace8 /build.zig
parent5b62fbe5117dcee4e0a161825d2415144716ee72 (diff)
Update to zig 0.13.0
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.zig b/build.zig
index 2e10ea5..e1411cd 100644
--- a/build.zig
+++ b/build.zig
@@ -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);