begin 0.13 update process -- very broken

This commit is contained in:
Mitchell Hashimoto
2024-06-08 19:51:44 -07:00
parent 68f0715926
commit a30e791c85
18 changed files with 67 additions and 51 deletions

View File

@@ -10,7 +10,7 @@ pub fn build(b: *std.Build) !void {
.optimize = optimize,
});
lib.linkLibCpp();
lib.addIncludePath(.{ .path = "vendor" });
lib.addIncludePath(b.path("vendor"));
if (target.result.isDarwin()) {
const apple_sdk = @import("apple_sdk");
@@ -28,7 +28,7 @@ pub fn build(b: *std.Build) !void {
},
});
lib.installHeadersDirectory(
.{ .path = "vendor" },
b.path("vendor"),
"",
.{ .include_extensions = &.{".h"} },
);