Skip to content

Commit bd93eba

Browse files
committed
imgui-sfml: use add_deps auto version resolution
1 parent 814f929 commit bd93eba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/i/imgui-sfml/xmake.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ package("imgui-sfml")
3838
on_install("macosx", "linux", "windows", "mingw", function (package)
3939
local imgui_dep = package:dep("imgui")
4040
local imgui_version = imgui_dep and " " .. imgui_dep:version_str() or ""
41-
io.writefile("xmake.lua", string.format([[
41+
io.writefile("xmake.lua", [[
4242
add_rules("mode.release", "mode.debug")
43-
add_requires("imgui%s")
43+
add_requires("imgui")
4444
if is_plat("linux") and is_kind("shared") then
4545
add_requires("sfml", {configs = {shared = true}})
4646
else
@@ -63,7 +63,7 @@ package("imgui-sfml")
6363
end
6464
add_rules("utils.install.pkgconfig_importfiles")
6565
add_rules("utils.install.cmake_importfiles")
66-
]], imgui_version))
66+
]])
6767
local configs = {}
6868
if package:config("shared") then
6969
configs.kind = "shared"

0 commit comments

Comments
 (0)