summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/modules_support/common.lua
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2022-08-05 06:35:28 +0200
committerArthur LAURENT <[email protected]>2022-08-05 06:35:28 +0200
commita4f39242acb700b507c3fdd026e4fb77c4e13510 (patch)
tree864b9b683c6a573fb8af6128d7ffbb248be0d75c /xmake/rules/c++/modules/modules_support/common.lua
parent24f8056d206e6b56bd71e87c1688bf68a45675d1 (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.lua2
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)