aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.zig b/build.zig
index 3267700..ccebbc9 100644
--- a/build.zig
+++ b/build.zig
@@ -36,9 +36,10 @@ pub fn build(b: *std.Build) void {
lib.linkSystemLibrary("x11");
lib.linkSystemLibrary("xrender");
lib.linkLibC();
+ lib.installHeadersDirectory("depends/mgl/include", ".");
lib.strip = optimize != std.builtin.OptimizeMode.Debug;
- lib.single_threaded = true;
lib.want_lto = optimize != std.builtin.OptimizeMode.Debug;
+ lib.single_threaded = true;
b.installArtifact(lib);
}