mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 00:52:04 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user