build: gtk needs imgui

This commit is contained in:
Mitchell Hashimoto
2023-08-18 08:25:20 -07:00
parent 3879f7c2e8
commit e8a6d09297

View File

@ -865,10 +865,9 @@ fn addDeps(
step.linkSystemLibrary2("gtk4", dynamic_link_opts);
// Must also link to imgui but only for tests.
if (step.kind == .@"test") {
const imgui_step = try imgui.link(b, step, imgui_opts);
try glfw.link(b, imgui_step, glfw_opts);
}
step.addModule("imgui", imgui.module(b));
const imgui_step = try imgui.link(b, step, imgui_opts);
try glfw.link(b, imgui_step, glfw_opts);
},
}
}