|
|
@ -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"); |
|
|
|