summaryrefslogtreecommitdiff
path: root/xmake/rules
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/rules')
-rw-r--r--xmake/rules/qt/install/windows.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/qt/install/windows.lua b/xmake/rules/qt/install/windows.lua
index 4401bd024..9a19e454d 100644
--- a/xmake/rules/qt/install/windows.lua
+++ b/xmake/rules/qt/install/windows.lua
@@ -55,8 +55,8 @@ function main(target, opt)
local msvc = toolchain.load("msvc", {plat = target:plat(), arch = target:arch()})
if msvc then
local vcvars = msvc:config("vcvars")
- if vcvars and vcvars.VSInstallDir then
- envs = {VCINSTALLDIR = path.join(vcvars.VSInstallDir, "VC")}
+ if vcvars and vcvars.VCInstallDir then
+ envs = {VCINSTALLDIR = vcvars.VCInstallDir}
end
end