make.bat: Update detection order of MSVC

VS2019 is the preferred version to use these
days, look for it before looking for 2017
and 2022.
This commit is contained in:
Ray molenkamp 2021-07-09 15:17:05 -06:00
parent 53cf8e83b3
commit d5e91ae883
1 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,9 @@
echo No explicit msvc version requested, autodetecting version.
call "%~dp0\detect_msvc2017.cmd"
call "%~dp0\detect_msvc2019.cmd"
if %ERRORLEVEL% EQU 0 goto DetectionComplete
call "%~dp0\detect_msvc2019.cmd"
call "%~dp0\detect_msvc2017.cmd"
if %ERRORLEVEL% EQU 0 goto DetectionComplete
call "%~dp0\detect_msvc2022.cmd"