mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-06 03:18:14 +00:00
Add frameworks needed on macos (#2793)
This commit is contained in:
@@ -64,6 +64,10 @@ pub fn addRaylib(b: *std.build.Builder, target: std.zig.CrossTarget) *std.build.
|
|||||||
raylib_flags ++ raylib_flags_extra_macos,
|
raylib_flags ++ raylib_flags_extra_macos,
|
||||||
);
|
);
|
||||||
raylib.linkFramework("Foundation");
|
raylib.linkFramework("Foundation");
|
||||||
|
raylib.linkFramework("CoreServices");
|
||||||
|
raylib.linkFramework("CoreGraphics");
|
||||||
|
raylib.linkFramework("AppKit");
|
||||||
|
raylib.linkFramework("IOKit");
|
||||||
},
|
},
|
||||||
else => {
|
else => {
|
||||||
@panic("Unsupported OS");
|
@panic("Unsupported OS");
|
||||||
|
Reference in New Issue
Block a user