macosx not in zig 0.7 build
extern fn GetTime() uses f64
This commit is contained in:
parent
9da413709c
commit
3d19112b2a
2 changed files with 2 additions and 2 deletions
2
lib.zig
2
lib.zig
|
|
@ -29,7 +29,7 @@ pub fn Pkg(pkgdir: comptime []const u8) type {
|
|||
exe.addIncludeDir(pkgdir ++ "/raylib/src/external/glfw/deps/mingw");
|
||||
exe.addCSourceFile(pkgdir ++ "/raylib/src/rglfw.c", raylibFlags);
|
||||
},
|
||||
.macosx => {
|
||||
.macos => {
|
||||
std.debug.warn("Compiling raylib is unsupported on macOS. Please add '-Dsystem-raylib=true' to your build command to use your system raylib.\n", .{});
|
||||
std.os.exit(1);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue