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.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/console/src/demo/xmake.lua b/tests/console/src/demo/xmake.lua
index e7210f874..81f9ebafd 100644
--- a/tests/console/src/demo/xmake.lua
+++ b/tests/console/src/demo/xmake.lua
@@ -24,10 +24,10 @@ add_target("demo_cpp")
add_undefines("HELLO2")
add_cxxflags("-DHELLO1")
add_options("option1", "option2", "option3", "option4")
- set_pkgscript( function (target)
- print("package: " .. target.name)
- return 1
- end)
+ set_packagescript( function (target)
+ print("package: " .. target.name)
+ return 1
+ end)
if plats("macosx", "ios") then