diff options
| author | ruki <[email protected]> | 2021-02-13 00:50:53 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-02-13 00:50:53 +0800 |
| commit | 9f09d39ed2e59a9bf4f1beecee0f79f27645ece3 (patch) | |
| tree | 4ea04361dabead2b8a6c9794e1e8aa8216d21162 /xmake/modules | |
| parent | d4d70f1b657e868bd236743b44d413740f258990 (diff) | |
modify comments
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/private/action/require/impl/install_packages.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/modules/private/action/require/impl/install_packages.lua b/xmake/modules/private/action/require/impl/install_packages.lua index 461131aa0..ab7556cc4 100644 --- a/xmake/modules/private/action/require/impl/install_packages.lua +++ b/xmake/modules/private/action/require/impl/install_packages.lua @@ -245,6 +245,9 @@ function _install_packages(packages_install, packages_download) end -- register it to local cache if it is root required package + -- + -- @note we need to register the package in time, + -- because other packages may be used, e.g. toolchain/packages if not instance:parents() then register_packages(instance) end |
