make.bat: Fix msvc-2017 detection.
authorRay Molenkamp <github@lazydodo.com>
Mon, 18 Jun 2018 19:39:12 +0000 (13:39 -0600)
committerRay Molenkamp <github@lazydodo.com>
Mon, 18 Jun 2018 19:39:12 +0000 (13:39 -0600)
D3485 by @manung

Differential Revision: https://developer.blender.org/D3485

build_files/windows/detect_msvc2017.cmd

index 060e9f88617abcb2565e2312e26c79e4b2dee132..7695dc8d5a23100e52aa952df2248dfb3a53a88c 100644 (file)
@@ -2,6 +2,7 @@ if NOT "%verbose%" == "" (
        echo Detecting msvc 2017
 )
 set BUILD_VS_VER=15
        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%
 
 set ProgramFilesX86=%ProgramFiles(x86)%
 if not exist "%ProgramFilesX86%" set ProgramFilesX86=%ProgramFiles%