summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/actions/config/main.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/xmake/actions/config/main.lua b/xmake/actions/config/main.lua
index 3393e1603..61f497c77 100644
--- a/xmake/actions/config/main.lua
+++ b/xmake/actions/config/main.lua
@@ -93,9 +93,6 @@ function _need_check(changed)
changed = true
end
end
-
- -- update mtimes
- localcache.set("config", "mtimes", mtimes)
return changed
end
@@ -369,6 +366,7 @@ force to build in current directory via run `xmake -P .`]], os.projectdir())
-- save options and config cache
localcache.set("config", "recheck", false)
+ localcache.set("config", "mtimes", project.mtimes())
config.save()
localcache.set("config", "options", options)
localcache.save("config")