From 311a57f9fcbb424ca7818bbdf591b564aa022b76 Mon Sep 17 00:00:00 2001 From: Martin Wickham Date: Wed, 9 Nov 2022 00:40:59 -0600 Subject: [PATCH] Add frameworks needed on macos (#2793) --- src/build.zig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/build.zig b/src/build.zig index 6a4c07e7..e44271e8 100644 --- a/src/build.zig +++ b/src/build.zig @@ -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");