diff options
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/private/action/require/impl/package.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/modules/private/action/require/impl/package.lua b/xmake/modules/private/action/require/impl/package.lua index 0608a3960..450096c1b 100644 --- a/xmake/modules/private/action/require/impl/package.lua +++ b/xmake/modules/private/action/require/impl/package.lua @@ -832,6 +832,11 @@ function _load_package(packagename, requireinfo, opt) on_load(package) end + -- load all components + for _, component in pairs(package:components()) do + component:_load() + end + -- load environments from the manifest to enable the environments of on_install() package:envs_load() |
