make.bat: Fix msvc-2017 detection.

D3485 by @manung

Differential Revision: https://developer.blender.org/D3485
This commit is contained in:
Ray Molenkamp 2018-06-18 13:39:12 -06:00
parent ab59f9e65d
commit 38b72fb64b
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@ if NOT "%verbose%" == "" (
echo Detecting msvc 2017
)
set BUILD_VS_VER=15
set BUILD_VS_YEAR=2017
set ProgramFilesX86=%ProgramFiles(x86)%
if not exist "%ProgramFilesX86%" set ProgramFilesX86=%ProgramFiles%