summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/actions/config/main.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/actions/config/main.lua b/xmake/actions/config/main.lua
index 90afe82da..dcf5986dc 100644
--- a/xmake/actions/config/main.lua
+++ b/xmake/actions/config/main.lua
@@ -395,12 +395,12 @@ force to build in current directory via run `xmake -P .`]], os.projectdir())
config.set("buildir", path.relative(buildir, project.directory()), {readonly = true, force = true})
end
- -- check configs
- _check_configs()
-
-- only config for building project using third-party buildsystem
if not trybuild then
+ -- check configs
+ _check_configs()
+
-- install and update packages
local require_enable = option.boolean(option.get("require"))
if (recheck or require_enable) then