summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-05-08 10:24:57 +0800
committerruki <[email protected]>2021-05-08 10:24:57 +0800
commit9a8d09da6bd66e7ee8277ad68e9cce5b3b1e2828 (patch)
treebb49432f131c032d874de4a426c9815124631772
parent1d4a5870e5beb566f29bc10d7cab4ec2a1772bcf (diff)
improve to check vstudio
-rw-r--r--xmake/toolchains/msvc/check.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/xmake/toolchains/msvc/check.lua b/xmake/toolchains/msvc/check.lua
index 518be7626..634249232 100644
--- a/xmake/toolchains/msvc/check.lua
+++ b/xmake/toolchains/msvc/check.lua
@@ -87,12 +87,6 @@ function _check_vstudio(toolchain)
cprint("checking for Microsoft Visual Studio (%s) version ... ${color.success}%s", toolchain:arch(), vs)
else
cprint("checking for Microsoft Visual Studio (%s) version ... ${color.nothing}${text.nothing}", toolchain:arch())
- if toolchain:is_plat("windows") then
- print("please run:")
- print(" - xmake config --vs=xxx [--vs_toolset=xxx]")
- print("or - xmake global --vs=xxx")
- raise()
- end
end
return vs
end