summaryrefslogtreecommitdiff
path: root/xmake/scripts/base/project.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/scripts/base/project.lua')
-rw-r--r--xmake/scripts/base/project.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/scripts/base/project.lua b/xmake/scripts/base/project.lua
index ce6397163..3fc119330 100644
--- a/xmake/scripts/base/project.lua
+++ b/xmake/scripts/base/project.lua
@@ -98,7 +98,7 @@ function project._make_configs(scope, configs)
local item = scope[k]
-- append it
- item[table.getn(item) + 1] = _v
+ table.insert(item, _v)
end
-- replace configure to scope
elseif scope and not k:startswith("_") then