summaryrefslogtreecommitdiff
path: root/xmake/core/project/project.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/project/project.lua')
-rw-r--r--xmake/core/project/project.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/xmake/core/project/project.lua b/xmake/core/project/project.lua
index 3b975cccd..4f82ccd53 100644
--- a/xmake/core/project/project.lua
+++ b/xmake/core/project/project.lua
@@ -335,7 +335,10 @@ function project._load(opt)
-- @note we need to check it before the cache, the project file may have been loaded
-- already without them, e.g. by the option menu
--
- if not opt.skip_addons then
+ if opt.skip_addons then
+ -- we do not install them here, but we still need to use the locked versions
+ project._pin_addons()
+ else
local ok, errors = project._install_addons()
if not ok then
return false, errors