chore(build): update to latest zig changes
This commit is contained in:
parent
3c619df3dc
commit
df005d7fb6
|
@ -65,9 +65,9 @@ pub fn build(b: *std.Build) void {
|
||||||
const zgui_pkg = zgui.package(b, target, optimize, .{ .options = .{ .backend = .sdl2_opengl3, .shared = true } });
|
const zgui_pkg = zgui.package(b, target, optimize, .{ .options = .{ .backend = .sdl2_opengl3, .shared = true } });
|
||||||
zgui_pkg.link(exe);
|
zgui_pkg.link(exe);
|
||||||
|
|
||||||
exe.install();
|
b.installArtifact(exe);
|
||||||
|
|
||||||
const run_cmd = exe.run();
|
const run_cmd = b.addRunArtifact(exe);
|
||||||
run_cmd.step.dependOn(b.getInstallStep());
|
run_cmd.step.dependOn(b.getInstallStep());
|
||||||
if (b.args) |args| {
|
if (b.args) |args| {
|
||||||
run_cmd.addArgs(args);
|
run_cmd.addArgs(args);
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 37f4ba9e31bea895fa19ef8b90d1f51111e52e67
|
Subproject commit 36e192a74f3be878766e1aa3e6f13ba5f92650cb
|
2
lib/zgui
2
lib/zgui
|
@ -1 +1 @@
|
||||||
Subproject commit 5b2b64a9dedd91f0cbf69ccb7a0a5ebf1fdf1691
|
Subproject commit 281f95b4606d449b7877f13cd5f408790b410491
|
Loading…
Reference in New Issue