From ca331c60c61fdcb1b63f130ad6c562a6f366f2b2 Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Sun, 26 Mar 2023 19:46:04 -0500 Subject: [PATCH] chore: update zgui --- build.zig | 5 ++--- lib/zgui | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/build.zig b/build.zig index d16b892..dffd8aa 100644 --- a/build.zig +++ b/build.zig @@ -60,9 +60,8 @@ pub fn build(b: *std.build.Builder) void { exe.addModule("sdl2", sdk.getNativeModule()); // Dear ImGui bindings - const zgui_pkg = zgui.package(b, .{ .options = .{ .backend = .sdl2_opengl3 } }); - exe.addModule("zgui", zgui_pkg.module); - zgui.link(exe, zgui_pkg.options); + const zgui_pkg = zgui.package(b, target, optimize, .{ .options = .{ .backend = .sdl2_opengl3 } }); + zgui_pkg.link(exe); exe.install(); diff --git a/lib/zgui b/lib/zgui index ceca3dd..70d7c0d 160000 --- a/lib/zgui +++ b/lib/zgui @@ -1 +1 @@ -Subproject commit ceca3dd6607f247d0d7ce12fbbd4623320277aac +Subproject commit 70d7c0dc02484de5226e8fe0f1284ac781826252