diff options
| -rw-r--r-- | xmake/actions/config/main.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xmake/actions/config/main.lua b/xmake/actions/config/main.lua index be0903f0c..d24987348 100644 --- a/xmake/actions/config/main.lua +++ b/xmake/actions/config/main.lua @@ -461,12 +461,6 @@ force to build in current directory via run `xmake -P .`]], os.projectdir()) -- otherwise has_package() will be invalid. _check_targets() - -- update the config files - generate_configfiles({force = recheck}) - if recheck then - generate_configheader() - end - -- check target toolchains if recheck then _check_target_toolchains() @@ -477,6 +471,12 @@ force to build in current directory via run `xmake -P .`]], os.projectdir()) -- config targets _config_targets() + + -- update the config files + generate_configfiles({force = recheck}) + if recheck then + generate_configheader() + end end -- dump config |
