From 8a03c52f87d367349b97ea581f9b598a0ede74f0 Mon Sep 17 00:00:00 2001 From: Stanis Kapusta <51389578+TNtube@users.noreply.github.com> Date: Sun, 15 May 2022 18:09:33 +0200 Subject: [PATCH] Fix ImGuizmo (#1221) * Update ImGuizmo to most recent commit * Fix ImGuizmo * add_deps imgui to imguizmo * ImGuizmo : add language version --- packages/i/imguizmo/xmake.lua | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/packages/i/imguizmo/xmake.lua b/packages/i/imguizmo/xmake.lua index 07767ed3b..52d07adfa 100644 --- a/packages/i/imguizmo/xmake.lua +++ b/packages/i/imguizmo/xmake.lua @@ -3,15 +3,18 @@ package("imguizmo") set_homepage("https://github.com/CedricGuillemet/ImGuizmo") set_description("Immediate mode 3D gizmo for scene editing and other controls based on Dear Imgui") - add_urls("https://github.com/CedricGuillemet/ImGuizmo/archive/$(version).tar.gz", - "https://github.com/CedricGuillemet/ImGuizmo.git") + add_urls("https://github.com/CedricGuillemet/ImGuizmo.git") - add_versions("1.83", "e6d05c5ebde802df7f6c342a06bc675bd2aa1c754d2d96755399a182187098a8") + add_versions("1.83", "14a91c16e40b585fd96314826fa6d506311dbe5c") + + add_deps("imgui") on_install("macosx", "linux", "windows", "mingw", "android", "iphoneos", function (package) local xmake_lua = [[ add_rules("mode.debug", "mode.release") - add_requires("imgui v1.83") + set_languages("c++14") + + add_requires("imgui v1.83-docking") target("imguizmo") set_kind("static")