build: add -Dxcframework-target to specify the target for builds

This commit is contained in:
Mitchell Hashimoto
2025-07-04 15:01:14 -07:00
parent 3793dac313
commit 91ee75ae4d
2 changed files with 11 additions and 1 deletions

View File

@@ -98,7 +98,7 @@ pub fn build(b: *std.Build) !void {
const xcframework = try buildpkg.GhosttyXCFramework.init(
b,
&deps,
.universal,
config.xcframework_target,
);
xcframework.install();