Skip to content

Commit 311a57f

Browse files
authored
Add frameworks needed on macos (#2793)
1 parent 773c0d7 commit 311a57f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/build.zig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ pub fn addRaylib(b: *std.build.Builder, target: std.zig.CrossTarget) *std.build.
6464
raylib_flags ++ raylib_flags_extra_macos,
6565
);
6666
raylib.linkFramework("Foundation");
67+
raylib.linkFramework("CoreServices");
68+
raylib.linkFramework("CoreGraphics");
69+
raylib.linkFramework("AppKit");
70+
raylib.linkFramework("IOKit");
6771
},
6872
else => {
6973
@panic("Unsupported OS");

0 commit comments

Comments
 (0)