Add frameworks needed on macos (#2793)

This commit is contained in:
Martin Wickham 2022-11-09 00:40:59 -06:00 committed by GitHub
parent 773c0d78d8
commit 311a57f9fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,6 +64,10 @@ pub fn addRaylib(b: *std.build.Builder, target: std.zig.CrossTarget) *std.build.
raylib_flags ++ raylib_flags_extra_macos,
);
raylib.linkFramework("Foundation");
raylib.linkFramework("CoreServices");
raylib.linkFramework("CoreGraphics");
raylib.linkFramework("AppKit");
raylib.linkFramework("IOKit");
},
else => {
@panic("Unsupported OS");