chore: update zgui

This commit is contained in:
2023-03-26 19:46:04 -05:00
parent 0010925caa
commit ca331c60c6
2 changed files with 3 additions and 4 deletions

View File

@@ -60,9 +60,8 @@ pub fn build(b: *std.build.Builder) void {
exe.addModule("sdl2", sdk.getNativeModule()); exe.addModule("sdl2", sdk.getNativeModule());
// Dear ImGui bindings // Dear ImGui bindings
const zgui_pkg = zgui.package(b, .{ .options = .{ .backend = .sdl2_opengl3 } }); const zgui_pkg = zgui.package(b, target, optimize, .{ .options = .{ .backend = .sdl2_opengl3 } });
exe.addModule("zgui", zgui_pkg.module); zgui_pkg.link(exe);
zgui.link(exe, zgui_pkg.options);
exe.install(); exe.install();