summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2018-11-14 22:56:17 +0800
committerruki <[email protected]>2018-11-14 11:37:47 +0800
commit02793072039fd85244ed060aebfcc21240e714b0 (patch)
treef5ea17255242f712f6f10ff7647cee6cfbd2118b
parentea8a9de0070f8fc2e1fb682ddd4726f3fe5e441f (diff)
fix detect cache dirty bug when clean configure
-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