Skip to content

Commit 9bd5da4

Browse files
fix: pass zydis version requirement correctly to xmake.lua
1 parent 1cf18a9 commit 9bd5da4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/z/zasm/xmake.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ package("zasm")
5454

5555
io.writefile("xmake.lua", format([[
5656
add_rules("mode.debug", "mode.release")
57-
add_requires("zydis v4.0.0")
57+
add_requires("zydis %s")
5858
target("zasm")
5959
set_kind("$(kind)")
6060
set_languages("c++17")
@@ -66,7 +66,7 @@ package("zasm")
6666
end
6767
end
6868
add_packages("zydis")
69-
]], src_include))
69+
]], package:dep("zydis"):version(), src_include))
7070
import("package.tools.xmake").install(package)
7171
end)
7272

0 commit comments

Comments
 (0)