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 fa396358e..8cc16b426 100644
--- a/xmake/actions/config/main.lua
+++ b/xmake/actions/config/main.lua
@@ -246,14 +246,14 @@ function main()
local recheck = _need_check(options_changed or not configcache)
if recheck then
+ -- clear detect cache
+ detectcache.clear()
+
-- check configure
config.check()
-- check project options
project.check()
-
- -- clear detect cache
- detectcache.clear()
end
-- load platform