We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d42c84 commit 45a1701Copy full SHA for 45a1701
build.zig
@@ -66,6 +66,14 @@ pub fn build(b: *std.Build) void {
66
.files = srcs,
67
});
68
69
+ if (target.result.os.tag == .macos) {
70
+ lib.addCSourceFile(.{
71
+ .file = upstream.path("src/IMG_ImageIO.m"),
72
+ });
73
+ lib.linkFramework("Foundation");
74
+ lib.linkFramework("ApplicationServices");
75
+ }
76
+
77
lib.installHeadersDirectory(upstream.path("include"), "", .{});
78
79
b.installArtifact(lib);
0 commit comments