From 3879f7c2e834de6fd771792bccd0ff32c2c883ca Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 18 Aug 2023 08:24:09 -0700 Subject: [PATCH] build: imgui should not be linked without an apprt --- build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.zig b/build.zig index 4c691f6a2..fb7a0c36e 100644 --- a/build.zig +++ b/build.zig @@ -692,7 +692,6 @@ fn addDeps( .freetype = mod_freetype, .macos = mod_macos, })); - step.addModule("imgui", imgui.module(b)); step.addModule("xev", mod_libxev); step.addModule("pixman", pixman.module(b)); step.addModule("stb_image_resize", stb_image_resize.module(b)); @@ -849,6 +848,7 @@ fn addDeps( try glfw.link(b, step, glfw_opts); // Must also link to imgui + step.addModule("imgui", imgui.module(b)); const imgui_step = try imgui.link(b, step, imgui_opts); try glfw.link(b, imgui_step, glfw_opts); },