vs-cfg.md - support cmake 4.0.0

This commit is contained in:
Andrej730
2025-04-10 16:39:26 +05:00
parent 1e3f1e7dfc
commit 9407faf1f9
+1
View File
@@ -207,6 +207,7 @@ IF %VS_PLATFORM%==ARM64 (
FOR /f "delims=" %%i in ('where cmake') DO set CMAKE_PATH=%%i
IF NOT "%CMAKE_PATH%"=="" (
FOR /f "delims=" %%i in ('cmake --version ^| findstr /C:"cmake version 3"') DO GOTO :CMake3AndNewer
FOR /f "delims=" %%i in ('cmake --version ^| findstr /C:"cmake version 4"') DO GOTO :CMake3AndNewer
)
:: reject older CMake, see also build-deps.cmd