summaryrefslogtreecommitdiff
path: root/xmake/core/package/package.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-10-18 00:45:55 +0800
committerruki <[email protected]>2022-10-18 00:45:55 +0800
commit91cb3829a4153cacd1abc96e292cfe34c6c492e7 (patch)
treeb906ff27c1857d11456a95c6770207bd26ba3153 /xmake/core/package/package.lua
parent24035843ac61249e110758f1e5ab9ea40b08cbfd (diff)
improve to find_package
Diffstat (limited to 'xmake/core/package/package.lua')
-rw-r--r--xmake/core/package/package.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua
index e78034421..74e85debb 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -1548,6 +1548,7 @@ function _instance:find_package(name, opt)
plat = self:plat(),
arch = self:arch(),
configs = table.join(self:configs(), opt.configs),
+ components = self:get("components"),
buildhash = self:buildhash(), -- for xmake package or 3rd package manager, e.g. go:: ..
cachekey = opt.cachekey or "fetch_package_system",
external = opt.external,