Windows: Add MS BuildTools support to msvs_env.bat (issue #2545)

This commit is contained in:
Marshall Greenblatt 2018-11-15 15:24:37 -05:00
parent 7ea19d740d
commit f5a3fd6430
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ if exist %vcvars% goto found_vcvars
:: Search for the default VS2017 installation path.
for %%x in ("%PROGRAMFILES(X86)%" "%PROGRAMFILES%") do (
for %%y in (Professional Enterprise Community) do (
for %%y in (Professional Enterprise Community BuildTools) do (
set vcvars="%%~x\Microsoft Visual Studio\2017\%%y\VC\Auxiliary\Build\vcvars%bits%.bat"
if exist !vcvars! goto found_vcvars
)