mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:03:46 +00:00
win: bump required cmake to 3.21.0 to match cmake_minimum_required
This commit is contained in:
+2
-2
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user