update imguizmo (#5559)

* update imguizmo

* use lower case

* add restrict to imgui version

* specify max version
pull/5719/head
Inari0 4 months ago committed by GitHub
parent 1784650664
commit 44bbf1dad6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 16
      packages/i/imguizmo/xmake.lua

@ -2,13 +2,20 @@ package("imguizmo")
set_homepage("https://github.com/CedricGuillemet/ImGuizmo") set_homepage("https://github.com/CedricGuillemet/ImGuizmo")
set_description("Immediate mode 3D gizmo for scene editing and other controls based on Dear Imgui") set_description("Immediate mode 3D gizmo for scene editing and other controls based on Dear Imgui")
set_license("MIT")
add_urls("https://github.com/CedricGuillemet/ImGuizmo.git") add_urls("https://github.com/CedricGuillemet/ImGuizmo.git")
add_versions("1.83", "664cf2d73864a36b2a8b5091d33fc4578c885eca") add_versions("1.83", "664cf2d73864a36b2a8b5091d33fc4578c885eca")
add_versions("1.89+WIP", "82e2465b8d029e2d85002905cc4ed5087e2119fe") add_versions("1.89+wip", "82e2465b8d029e2d85002905cc4ed5087e2119fe")
add_versions("1.91.3+wip", "bcdd86bb8a8019b373e46921c52ef7f2fdaa8b16")
add_deps("imgui") on_load(function (package)
if package:version():lt("1.90") then
package:add("deps", "imgui <=1.89.3")
else
package:add("deps", "imgui")
end
end)
on_install("macosx", "linux", "windows", "mingw", "android", "iphoneos", function (package) on_install("macosx", "linux", "windows", "mingw", "android", "iphoneos", function (package)
local imgui = package:dep("imgui") local imgui = package:dep("imgui")
@ -40,4 +47,3 @@ package("imguizmo")
} }
]]}, {configs = {languages = "c++11"}, includes = {"imgui.h", "ImGuizmo.h"}})) ]]}, {configs = {languages = "c++11"}, includes = {"imgui.h", "ImGuizmo.h"}}))
end) end)

Loading…
Cancel
Save