summaryrefslogtreecommitdiff
path: root/xmake/core/package/package.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-10-19 23:44:29 +0800
committerruki <[email protected]>2022-10-19 23:44:29 +0800
commit56302de4dff5414efec3cf3216d639ed7ab20b1f (patch)
tree1e01c88b9695428176bfbd2d2a1581dbff960407 /xmake/core/package/package.lua
parent595749f6deeb1b637c1d0a13cc3c89ce74724a39 (diff)
fix components order for find_package
Diffstat (limited to 'xmake/core/package/package.lua')
-rw-r--r--xmake/core/package/package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua
index 376906a8e..945701a4f 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -1557,7 +1557,7 @@ function _instance:find_package(name, opt)
plat = self:plat(),
arch = self:arch(),
configs = table.join(self:configs(), opt.configs),
- components = self:get("components"),
+ components = self:components_orderlist(),
buildhash = self:buildhash(), -- for xmake package or 3rd package manager, e.g. go:: ..
cachekey = opt.cachekey or "fetch_package_system",
external = opt.external,