diff options
| author | ruki <[email protected]> | 2024-01-12 00:43:20 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-01-12 00:43:20 +0800 |
| commit | 5ed8be2195cbf1001fcae218e67a06a6164d57e9 (patch) | |
| tree | 715d066f51e0081c388f9c27ceb4390ec13c705a /xmake/core/package/package.lua | |
| parent | 6822fc03d6c52fbf68a7571050f675f283b94a44 (diff) | |
improve system::find_package
Diffstat (limited to 'xmake/core/package/package.lua')
| -rw-r--r-- | xmake/core/package/package.lua | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua index 8704b3df1..e30e13260 100644 --- a/xmake/core/package/package.lua +++ b/xmake/core/package/package.lua @@ -1760,8 +1760,13 @@ function _instance:find_package(name, opt) buildhash = self:buildhash(), -- for xmake package or 3rd package manager, e.g. go:: .. cachekey = opt.cachekey or "fetch_package_system", external = opt.external, - includes = opt.includes, -- system/find_package need it - system = system}) + system = system, + -- the following options is only for system::find_package + sourcekind = opt.sourcekind, + package = self, + funcs = opt.funcs, + snippets = snippets, + includes = opt.includes}) end -- fetch the local package info |
