summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/rules/c++/modules/xmake.lua')
-rw-r--r--xmake/rules/c++/modules/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/c++/modules/xmake.lua b/xmake/rules/c++/modules/xmake.lua
index 1d2852644..b62ec0f36 100644
--- a/xmake/rules/c++/modules/xmake.lua
+++ b/xmake/rules/c++/modules/xmake.lua
@@ -75,7 +75,7 @@ rule("c++.build.modules.builder")
if package_modules_data then
-- append to sourcebatch
for name, package_module_data in pairs(package_modules_data) do
- table.append(sourcebatch.sourcefiles, package_module_data.file)
+ table.insert(sourcebatch.sourcefiles, package_module_data.file)
end
-- we need to repatch and regenerate dependencies at this point