From d5e91ae883283e3ec51db7b7b635491e1a02f1b5 Mon Sep 17 00:00:00 2001 From: Ray Molenkamp Date: Fri, 9 Jul 2021 15:17:05 -0600 Subject: 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. --- build_files/windows/autodetect_msvc.cmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_files/windows/autodetect_msvc.cmd b/build_files/windows/autodetect_msvc.cmd index 6cee4765b93..a4ab8929040 100644 --- a/build_files/windows/autodetect_msvc.cmd +++ b/build_files/windows/autodetect_msvc.cmd @@ -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" -- cgit v1.2.3