summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/xmake.lua
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2023-01-07 15:49:45 +0100
committerArthur LAURENT <[email protected]>2023-01-07 15:49:45 +0100
commitb5e29bdae4f381e343632cf5ea51224aea8f720a (patch)
treeb348cd930d57bd574455fee2dea4994a10467846 /xmake/rules/c++/modules/xmake.lua
parentd07547fb49474e9822c7ac14031b90c5b6d78bd2 (diff)
implement suggestions
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