summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2022-08-28 21:57:01 +0800
committerruki <[email protected]>2022-08-28 21:57:01 +0800
commit369cf45da4e5ed5a332afc1abcfe3b51bf98ad59 (patch)
tree5d8115e836cbe1ba61aa1d436231618ddce64be0
parenteb9a71b929de0c144dad3d137c61297c908440c8 (diff)
improve msvc
-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 f871c2262..890dd7cc1 100644
--- a/xmake/modules/detect/sdks/find_vstudio.lua
+++ b/xmake/modules/detect/sdks/find_vstudio.lua
@@ -320,9 +320,10 @@ function _find_vstudio(opt)
-- load vcvarsall
local vcvarsall_x86 = _load_vcvarsall(vcvarsall, version, "x86", opt)
local vcvarsall_x64 = _load_vcvarsall(vcvarsall, version, "x64", opt)
+ local vcvarsall_arm64 = _load_vcvarsall(vcvarsall, version, "arm64", opt)
-- save results
- results[vsvers[version]] = {version = version, vcvarsall_bat = vcvarsall, vcvarsall = {x86 = vcvarsall_x86, x64 = vcvarsall_x64}}
+ results[vsvers[version]] = {version = version, vcvarsall_bat = vcvarsall, vcvarsall = {x86 = vcvarsall_x86, x64 = vcvarsall_x64, arm64 = vcvarsall_arm64}}
end
end
return results