diff options
| author | ruki <[email protected]> | 2020-12-24 00:35:32 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-12-24 00:35:32 +0800 |
| commit | 243ddec82d865010efcc35d0989c5fdffb0dff84 (patch) | |
| tree | 0e4c44ea58779b43347a784569a0bec447313d12 /xmake/rules | |
| parent | b64f0d5aa9b93b03505acaf050edb6bd422f2aa7 (diff) | |
improve parse header deps
Diffstat (limited to 'xmake/rules')
| -rw-r--r-- | xmake/rules/qt/install/windows.lua | 4 |
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 |
