summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-03-08 22:38:06 +0800
committerruki <[email protected]>2023-03-08 22:38:06 +0800
commit3d85547ff71185efe67008d078c8697edb40622a (patch)
tree0eda3211d5ffb2b98986900634e1655ad521cc09
parent413c91ff587b2809685844b8e3ae975af224940a (diff)
fix cxxmodules cache #3463
-rw-r--r--xmake/actions/config/main.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/actions/config/main.lua b/xmake/actions/config/main.lua
index 59bfe2b05..be0903f0c 100644
--- a/xmake/actions/config/main.lua
+++ b/xmake/actions/config/main.lua
@@ -417,11 +417,12 @@ force to build in current directory via run `xmake -P .`]], os.projectdir())
localcache.clear("config")
end
- -- clear detection cache
+ -- clear some local caches
localcache.clear("detect")
localcache.clear("option")
localcache.clear("package")
localcache.clear("toolchain")
+ localcache.clear("cxxmodules")
localcache.set("config", "recheck", true)
localcache.save()