summaryrefslogtreecommitdiff
path: root/tests/console/src
diff options
context:
space:
mode:
Diffstat (limited to 'tests/console/src')
-rw-r--r--tests/console/src/demo/xmake.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/console/src/demo/xmake.lua b/tests/console/src/demo/xmake.lua
index 9de927495..e7210f874 100644
--- a/tests/console/src/demo/xmake.lua
+++ b/tests/console/src/demo/xmake.lua
@@ -24,8 +24,8 @@ add_target("demo_cpp")
add_undefines("HELLO2")
add_cxxflags("-DHELLO1")
add_options("option1", "option2", "option3", "option4")
- set_pkgscript( function (name, info)
- print("package: " .. name)
+ set_pkgscript( function (target)
+ print("package: " .. target.name)
return 1
end)