make.bat : fix msvc 2017 detection.
authorRay Molenkamp <github@lazydodo.com>
Sun, 29 Jul 2018 17:24:49 +0000 (11:24 -0600)
committerRay Molenkamp <github@lazydodo.com>
Sun, 29 Jul 2018 17:24:49 +0000 (11:24 -0600)
when 2017 was not found, it did not properly bail out of the rest of the detection process unless verbose mode was used.

build_files/windows/detect_msvc2017.cmd

index 7695dc8d5a23100e52aa952df2248dfb3a53a88c..029f98cbe1ec7ffbcb63952eca2c69fd9ae8eb92 100644 (file)
@@ -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%" == "" (