make.bat: fix support for building with just the build tools installed.

This commit is contained in:
Ray molenkamp 2018-05-30 10:54:06 -06:00
parent 10a2562bc5
commit c0f42a7526
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ if not exist "%vs_where%" (
goto FAIL
)
)
for /f "usebackq tokens=1* delims=: " %%i in (`"%vs_where%" -latest %VSWHERE_ARGS% -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64`) do (
for /f "usebackq tokens=1* delims=: " %%i in (`"%vs_where%" -products * -latest %VSWHERE_ARGS% -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64`) do (
if /i "%%i"=="installationPath" set VS_InstallDir=%%j
)