diff options
| -rwxr-xr-x | xmake/actions/config/main.lua | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/xmake/actions/config/main.lua b/xmake/actions/config/main.lua index 6ba35ee66..8146fbdbd 100755 --- a/xmake/actions/config/main.lua +++ b/xmake/actions/config/main.lua @@ -136,8 +136,15 @@ function main() -- merge the checked configure local recheck = _need_check() if recheck then + + -- check configure config.check() + + -- check project options project.check() + + -- rebuild it + cache.set("rebuild", true) end -- merge the cached configure @@ -162,9 +169,6 @@ function main() raise("unknown target: %s", targetname) end - -- need rebuild it - cache.set("rebuild", recheck) - -- save options cache.set("options_" .. targetname, options) |
