From a4f39242acb700b507c3fdd026e4fb77c4e13510 Mon Sep 17 00:00:00 2001 From: Arthur LAURENT Date: Fri, 5 Aug 2022 06:35:28 +0200 Subject: Fix find_angle_header_file pkgs discovery --- xmake/rules/c++/modules/modules_support/common.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/rules/c++/modules/modules_support/common.lua') 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) -- cgit v1.3.1