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