mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 17:21:05 +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
|
cmake --version | findstr version > temp.txt
|
||||||
set /p CMAKE_VERSION=<temp.txt
|
set /p CMAKE_VERSION=<temp.txt
|
||||||
del temp.txt
|
del temp.txt
|
||||||
if "%CMAKE_VERSION%" LSS "cmake version 3.11.4" (
|
if "%CMAKE_VERSION%" LSS "cmake version 3.21.0" (
|
||||||
echo "CMake v3.11.4 or higher is required"
|
echo "CMake v3.21.0 or higher is required"
|
||||||
goto :ErrorAndPrintUsage
|
goto :ErrorAndPrintUsage
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -200,7 +200,7 @@ IF NOT "%CMAKE_PATH%"=="" (
|
|||||||
)
|
)
|
||||||
|
|
||||||
:: reject older CMake, see also build-deps.cmd
|
:: 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
|
exit /b 1
|
||||||
|
|
||||||
:CMake3AndNewer
|
:CMake3AndNewer
|
||||||
|
|||||||
Reference in New Issue
Block a user