diff options
| author | Arthur LAURENT <[email protected]> | 2024-01-31 15:26:39 +0100 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2024-01-31 15:26:39 +0100 |
| commit | f17ccefcfc7265ba3fb6aa5e3540230d05dd8aa3 (patch) | |
| tree | 9c31087b2cddff2c251cd1417ac9e8ca16fc7aa3 /xmake/rules/c++/modules/modules_support | |
| parent | e219f8a744ad39e5196bb3c9b5809186306a3b92 (diff) | |
use ipairs + orderpkgs
Diffstat (limited to 'xmake/rules/c++/modules/modules_support')
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/compiler_support.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/c++/modules/modules_support/compiler_support.lua b/xmake/rules/c++/modules/modules_support/compiler_support.lua index 5f1bc4617..3bf89b885 100644 --- a/xmake/rules/c++/modules/modules_support/compiler_support.lua +++ b/xmake/rules/c++/modules/modules_support/compiler_support.lua @@ -151,7 +151,7 @@ function find_angle_header_file(target, file) local includedirs = table.join(dep:get("sysincludedirs") or {}, dep:get("includedirs") or {}) table.join2(headerpaths, includedirs) end - for _, pkg in pairs(target:pkgs()) do + for _, pkg in ipairs(target:orderpkgs()) do local includedirs = table.join(pkg:get("sysincludedirs") or {}, pkg:get("includedirs") or {}) table.join2(headerpaths, includedirs) end |
