From 486ae7ce8ee1a795a163120264710739866b58aa 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..55efe08 160000 --- a/lib/zgui +++ b/lib/zgui @@ -1 +1 @@ -Subproject commit ceca3dd6607f247d0d7ce12fbbd4623320277aac +Subproject commit 55efe08bdfef961e9081f3cf63ba9c2c163fa8c4