[Bf-blender-cvs] [83227de828c] master: make.bat : fix msvc 2017 detection.

Ray Molenkamp noreply at git.blender.org
Sun Jul 29 19:25:00 CEST 2018


Commit: 83227de828c9cb8f7807e1d15308bda0bc261fab
Author: Ray Molenkamp
Date:   Sun Jul 29 11:24:49 2018 -0600
Branches: master
https://developer.blender.org/rB83227de828c9cb8f7807e1d15308bda0bc261fab

make.bat : fix msvc 2017 detection.

when 2017 was not found, it did not properly bail out of the rest of the detection process unless verbose mode was used.

===================================================================

M	build_files/windows/detect_msvc2017.cmd

===================================================================

diff --git a/build_files/windows/detect_msvc2017.cmd b/build_files/windows/detect_msvc2017.cmd
index 7695dc8d5a2..029f98cbe1e 100644
--- a/build_files/windows/detect_msvc2017.cmd
+++ b/build_files/windows/detect_msvc2017.cmd
@@ -10,8 +10,8 @@ set vs_where=%ProgramFilesX86%\Microsoft Visual Studio\Installer\vswhere.exe
 if not exist "%vs_where%" (
 	if NOT "%verbose%" == "" (
 		echo Visual Studio 2017 ^(15.2 or newer^) is not detected
-		goto FAIL
 	)
+	goto FAIL
 )
 
 if NOT "%verbose%" == "" (



More information about the Bf-blender-cvs mailing list