diff options
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..4190c43c1 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 = opt.snippets, + includes = opt.includes}) end -- fetch the local package info |
