Skip to content

Commit

Permalink
Fix CMake builds using Visual Studio 2022
Browse files Browse the repository at this point in the history
It tried to use 2019 by default, and that'll fail if only 2022 is installed.
  • Loading branch information
rdw-software authored and squeek502 committed May 27, 2022
1 parent e72407c commit ef6d7a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ reg query HKEY_CLASSES_ROOT\VisualStudio.DTE.15.0 >nul 2>nul
IF %errorlevel%==0 set GENERATOR=Visual Studio 15
reg query HKEY_CLASSES_ROOT\VisualStudio.DTE.16.0 >nul 2>nul
IF %errorlevel%==0 set GENERATOR=Visual Studio 16
reg query HKEY_CLASSES_ROOT\VisualStudio.DTE.17.0 >nul 2>nul
IF %errorlevel%==0 set GENERATOR=Visual Studio 17

for /f %%i in ('git describe --tags') do set LUVI_TAG=%%i
IF NOT "x%1" == "x" GOTO :%1
Expand Down

0 comments on commit ef6d7a5

Please sign in to comment.