summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-07-16 17:49:16 +0800
committerGitHub <[email protected]>2021-07-16 17:49:16 +0800
commit376d0b99dc87c5f07e71b43f3a420f121039ad37 (patch)
tree21cf1da648cc89dc1c5d6b3c7a703e52e1b886fc
parent3b496c86fb66e48ad442d00f938fc7c3da5a35f5 (diff)
Update find_vstudio.lua
-rw-r--r--xmake/modules/detect/sdks/find_vstudio.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/modules/detect/sdks/find_vstudio.lua b/xmake/modules/detect/sdks/find_vstudio.lua
index 362a2a705..2934d23c8 100644
--- a/xmake/modules/detect/sdks/find_vstudio.lua
+++ b/xmake/modules/detect/sdks/find_vstudio.lua
@@ -35,7 +35,8 @@ local vcvars = {"path",
"WindowsSDKVersion",
"WindowsSdkBinPath",
"UniversalCRTSdkDir",
- "UCRTVersion"}
+ "UCRTVersion",
+ "VCToolsVersion"}
-- load vcvarsall environment variables
function _load_vcvarsall(vcvarsall, vsver, arch, opt)