diff options
| author | Arthur LAURENT <[email protected]> | 2022-08-05 06:35:28 +0200 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2022-08-05 06:35:28 +0200 |
| commit | a4f39242acb700b507c3fdd026e4fb77c4e13510 (patch) | |
| tree | 864b9b683c6a573fb8af6128d7ffbb248be0d75c /xmake/rules/c++/modules/modules_support/common.lua | |
| parent | 24f8056d206e6b56bd71e87c1688bf68a45675d1 (diff) | |
Fix find_angle_header_file pkgs discovery
Diffstat (limited to 'xmake/rules/c++/modules/modules_support/common.lua')
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/common.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/c++/modules/modules_support/common.lua b/xmake/rules/c++/modules/modules_support/common.lua index 564517ea1..1be3b5170 100644 --- a/xmake/rules/c++/modules/modules_support/common.lua +++ b/xmake/rules/c++/modules/modules_support/common.lua @@ -315,7 +315,7 @@ function find_angle_header_file(target, file) table.join2(headerpaths, includedirs) end end - for _, pkg in ipairs(target:pkgs()) do + for _, pkg in pairs(target:pkgs()) do local includedirs = pkg:get("sysincludedirs") or pkg:get("includedirs") if includedirs then table.join2(headerpaths, includedirs) |
