CMake 4.x. windows (#10820)

* cmake 4 windows

Update CMakeLists.txt

cmake 4 windows

Update build_release_vs2022.bat

minimum version 3.5

* Update CMakeLists.txt
This commit is contained in:
Rodrigo Faselli
2025-11-11 23:40:49 -03:00
committed by GitHub
parent a7adeb6305
commit 61bc6193ab
2 changed files with 5 additions and 3 deletions

View File

@@ -46,6 +46,8 @@ if "%1"=="slicer" (
echo "building deps.."
echo on
REM Set minimum CMake policy to avoid <3.5 errors
set CMAKE_POLICY_VERSION_MINIMUM=3.5
cmake ../ -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=%build_type%
cmake --build . --config %build_type% --target deps -- -m
@echo off