summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/platforms/windows/check.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/platforms/windows/check.lua b/xmake/platforms/windows/check.lua
index b1f2881e6..7385309d6 100644
--- a/xmake/platforms/windows/check.lua
+++ b/xmake/platforms/windows/check.lua
@@ -97,7 +97,7 @@ function _check_vs(config)
if vs then
-- save it
- config.set("vs", vs)
+ config.set("vs", vs, {force = true})
-- trace
print("checking for the Microsoft Visual Studio (%s) version ... %s", config.get("arch"), vs)