Browse Source

Update imgui to v1.82 (#339)

* Update imgui to v1.82

* Link to Imm32 on windows and mingw platforms
Andrej Redeky 4 years ago
parent
commit
0465dadc10
1 changed files with 5 additions and 0 deletions
  1. 5 0
      packages/i/imgui/xmake.lua

+ 5 - 0
packages/i/imgui/xmake.lua

@@ -6,11 +6,16 @@ package("imgui")
     add_urls("https://github.com/ocornut/imgui/archive/$(version).tar.gz",
     add_urls("https://github.com/ocornut/imgui/archive/$(version).tar.gz",
              "https://github.com/ocornut/imgui.git")
              "https://github.com/ocornut/imgui.git")
 
 
+    add_versions("v1.82", "fefa2804bd55f3d25b134af08c0e1f86d4d059ac94cef3ee7bd21e2f194e5ce5")
     add_versions("v1.81", "f7c619e03a06c0f25e8f47262dbc32d61fd033d2c91796812bf0f8c94fca78fb")
     add_versions("v1.81", "f7c619e03a06c0f25e8f47262dbc32d61fd033d2c91796812bf0f8c94fca78fb")
     add_versions("v1.80", "d7e4e1c7233409018437a646680316040e6977b9a635c02da93d172baad94ce9")
     add_versions("v1.80", "d7e4e1c7233409018437a646680316040e6977b9a635c02da93d172baad94ce9")
     add_versions("v1.79", "f1908501f6dc6db8a4d572c29259847f6f882684b10488d3a8d2da31744cd0a4")
     add_versions("v1.79", "f1908501f6dc6db8a4d572c29259847f6f882684b10488d3a8d2da31744cd0a4")
     add_versions("v1.75", "1023227fae4cf9c8032f56afcaea8902e9bfaad6d9094d6e48fb8f3903c7b866")
     add_versions("v1.75", "1023227fae4cf9c8032f56afcaea8902e9bfaad6d9094d6e48fb8f3903c7b866")
 
 
+    if is_plat("windows", "mingw") then
+        add_syslinks("Imm32")
+    end
+
     on_install("macosx", "linux", "windows", "mingw", "android", "iphoneos", function (package)
     on_install("macosx", "linux", "windows", "mingw", "android", "iphoneos", function (package)
         io.writefile("xmake.lua", [[
         io.writefile("xmake.lua", [[
             target("imgui")
             target("imgui")