diff options
| author | Arthur LAURENT <[email protected]> | 2022-12-04 22:07:02 +0100 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2022-12-05 01:08:30 +0100 |
| commit | 490cc7336f3ef41866b90e65caab84fa6bb9fdfe (patch) | |
| tree | cd8b91785da5af413ecf6456abb451bf5063b739 /xmake/rules/c++/modules/modules_support/gcc.lua | |
| parent | 49d732c29c8e97ad09fbf35effa1b7bdeda1c727 (diff) | |
fix missing includedirs on fallback generation module deps
Diffstat (limited to 'xmake/rules/c++/modules/modules_support/gcc.lua')
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/gcc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/c++/modules/modules_support/gcc.lua b/xmake/rules/c++/modules/modules_support/gcc.lua index 6f1539891..1f9a85f70 100644 --- a/xmake/rules/c++/modules/modules_support/gcc.lua +++ b/xmake/rules/c++/modules/modules_support/gcc.lua @@ -185,7 +185,7 @@ function generate_dependencies(target, sourcebatch, opt) for _, define in ipairs(target:get("defines")) do table.insert(defines, "-D" .. define) end - local includedirs = {} + local includedirs = table.join({}, target:get("includedirs")) for _, dep in ipairs(target:orderdeps()) do local includedir = dep:get("sysincludedirs") or dep:get("includedirs") if includedir then |
