diff options
author | Ray Molenkamp <github@lazydodo.com> | 2021-07-10 00:17:05 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2021-07-10 00:17:05 +0300 |
commit | d5e91ae883283e3ec51db7b7b635491e1a02f1b5 (patch) | |
tree | 445654454ecefa373dcc7e2f7765c4ac84326f6e | |
parent | 53cf8e83b37da5cc4de2ef9bd6e4df9e81c976ac (diff) |
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.
-rw-r--r-- | build_files/windows/autodetect_msvc.cmd | 4 |
1 files 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" |