aboutsummaryrefslogtreecommitdiff
path: root/tools/buildsteps
diff options
context:
space:
mode:
Diffstat (limited to 'tools/buildsteps')
-rw-r--r--tools/buildsteps/windows/vswhere.bat2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/buildsteps/windows/vswhere.bat b/tools/buildsteps/windows/vswhere.bat
index 97c2594ff4..b8c60b9e34 100644
--- a/tools/buildsteps/windows/vswhere.bat
+++ b/tools/buildsteps/windows/vswhere.bat
@@ -50,6 +50,8 @@ FOR /f "usebackq tokens=1* delims=" %%i in (`%vswhere% -latest -property install
SET vsver=15 2017
ECHO %%i | findstr "2019" >NUL 2>NUL
IF NOT ERRORLEVEL 1 SET vsver=16 2019
+ ECHO %%i | findstr "2022" >NUL 2>NUL
+ IF NOT ERRORLEVEL 1 SET vsver=17 2022
)
)