From 26d15cb042ea110076586ee0c8be4d09ca0c9a32 Mon Sep 17 00:00:00 2001 From: Jim <40590729+Whalesea-Gustav@users.noreply.github.com> Date: Sun, 29 Dec 2024 14:34:41 +0800 Subject: [PATCH] Limit ImGui <=1.90.4 to Polyscope > 2.2.0 Polyscope Officially Support ImGui Version is 1.90.4 It has Compilation Error When Using Latest ImGui=1.91.6 --- packages/p/polyscope/xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/p/polyscope/xmake.lua b/packages/p/polyscope/xmake.lua index 4d6522681e0..4a38d39592d 100644 --- a/packages/p/polyscope/xmake.lua +++ b/packages/p/polyscope/xmake.lua @@ -24,7 +24,7 @@ package("polyscope") add_deps("glad", "glfw", "glm", "nlohmann_json", "stb") on_load("windows", "macosx", "linux", function (package) if package:version():ge("2.2.0") then - package:add("deps", "imgui", {configs = {glfw = true, opengl3 = true}}) + package:add("deps", "imgui <=1.90.4", {configs = {glfw = true, opengl3 = true}}) else package:add("deps", "happly") package:add("deps", "imgui <=1.86", {configs = {glfw = true, opengl3 = true}})