We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8484eb4 commit 37beebbCopy full SHA for 37beebb
xmake/modules/detect/sdks/find_dia_sdk.lua
@@ -41,7 +41,7 @@ function _find_sdkdir(sdkdir, opt)
41
end
42
43
if not vsdir then
44
- local msvc = toolchain.load("msvc")
+ local msvc = toolchain.load("msvc", {plat = config.get("plat"), arch = opt.arch or config.get("arch")})
45
if msvc and msvc:check() then
46
local vcvars = msvc:config("vcvars")
47
if vcvars then
0 commit comments