summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2017-08-08 16:14:52 +0800
committerruki <[email protected]>2017-08-08 16:14:52 +0800
commitadcbe12dda8d281f805880c9baec3fd0960512f8 (patch)
tree553e4ab1f990e00e5b53fa03bf01f3e633d3131c
parenteddbfe2e53f6851058533ba268286c9a6f587bbf (diff)
fix vs option bug
-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)