Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Molenkamp <github@lazydodo.com>2021-07-10 00:17:05 +0300
committerRay Molenkamp <github@lazydodo.com>2021-07-10 00:17:05 +0300
commitd5e91ae883283e3ec51db7b7b635491e1a02f1b5 (patch)
tree445654454ecefa373dcc7e2f7765c4ac84326f6e /build_files
parent53cf8e83b37da5cc4de2ef9bd6e4df9e81c976ac (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.
Diffstat (limited to 'build_files')
-rw-r--r--build_files/windows/autodetect_msvc.cmd4
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"