summaryrefslogtreecommitdiff
path: root/xmake/core/project/project.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2026-08-15 16:29:16 +0800
committerruki <[email protected]>2026-08-15 16:29:16 +0800
commit67ffcd8a481a5c6c51da8044bfe1ebed980b1e56 (patch)
tree28054248eb7e151102330994b45ce1087ee8905d /xmake/core/project/project.lua
parent62bae6f061c8577aae7dff8c1f6c47a5e705f3bb (diff)
fix some bugs
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