win: bump required cmake to 3.21.0 to match cmake_minimum_required

This commit is contained in:
Andrej730
2026-09-07 11:16:30 +05:00
parent 188d3faa37
commit c4aca06cb5
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -118,8 +118,8 @@ set PWSH_TOOLS=powershell -NonInteractive -File %SCRIPT_DIR%\utils\tools.ps1
cmake --version | findstr version > temp.txt
set /p CMAKE_VERSION=<temp.txt
del temp.txt
if "%CMAKE_VERSION%" LSS "cmake version 3.11.4" (
echo "CMake v3.11.4 or higher is required"
if "%CMAKE_VERSION%" LSS "cmake version 3.21.0" (
echo "CMake v3.21.0 or higher is required"
goto :ErrorAndPrintUsage
)
+1 -1
View File
@@ -200,7 +200,7 @@ IF NOT "%CMAKE_PATH%"=="" (
)
:: reject older CMake, see also build-deps.cmd
echo "CMake v3.11.4 or higher is required"
echo "CMake v3.21.0 or higher is required"
exit /b 1
:CMake3AndNewer