diff options
| author | CosmicBagel <[email protected]> | 2024-05-15 15:20:34 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-05-15 23:20:34 +0200 |
| commit | d6b22b17aecd2346d4fd1fc8ebaea8212e40008f (patch) | |
| tree | 0e19743b9794ddf2192858f1b86745ebe3f78231 | |
| parent | 02d98a3e44b13584c98a7aaee0ca6fc5fb55a975 (diff) | |
| download | raylib-d6b22b17aecd2346d4fd1fc8ebaea8212e40008f.tar.gz raylib-d6b22b17aecd2346d4fd1fc8ebaea8212e40008f.zip | |
LazyPath.path has been deprecated, using b.path() (#3983)
This works in zig 0.12, LazyPath.path has been removed in zig 0.13
Co-authored-by: CosmicBagel <>
| -rw-r--r-- | src/build.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build.zig b/src/build.zig index e111d638..d172b3c2 100644 --- a/src/build.zig +++ b/src/build.zig @@ -204,7 +204,7 @@ fn compileRaylib(b: *std.Build, target: std.Build.ResolvedTarget, optimize: std. var dir = std.fs.openDirAbsolute(cache_include, std.fs.Dir.OpenDirOptions{ .access_sub_paths = true, .no_follow = true }) catch @panic("No emscripten cache. Generate it!"); dir.close(); - raylib.addIncludePath(.{ .path = cache_include }); + raylib.addIncludePath(b.path(cache_include)); }, else => { @panic("Unsupported OS"); |
