diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-08-19 19:59:26 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-08-19 19:59:26 +0200 |
commit | 653de46953ba5d24abd83e532dcff11d9ae64040 (patch) | |
tree | 4d50bbfbe0458de6220ea33728546edb248fd20f | |
parent | d505f7db36202b7dab1f159114f7e3a8d813966e (diff) |
Install headers
-rw-r--r-- | build.zig | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); } |