git: eaec401bce3a - main - cad/PrusaSlicer: Fix building with CMake 4

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Wed, 14 Oct 2026 19:42:30 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=eaec401bce3a6520cf646e1f19c476ae82d96c6a

commit eaec401bce3a6520cf646e1f19c476ae82d96c6a
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-10-14 19:42:06 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-10-14 19:42:18 +0000

    cad/PrusaSlicer: Fix building with CMake 4
---
 cad/PrusaSlicer/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cad/PrusaSlicer/Makefile b/cad/PrusaSlicer/Makefile
index a2c3e68bda51..e749c9921784 100644
--- a/cad/PrusaSlicer/Makefile
+++ b/cad/PrusaSlicer/Makefile
@@ -64,6 +64,7 @@ CMAKE_ARGS+=	-DwxWidgets_CONFIG_EXECUTABLE="${WX_CONFIG}" \
 		-DSLIC3R_PCH=OFF \
 		-DSLIC3R_BUILD_TESTS=OFF \
 		-DSLIC3R_STATIC=OFF \
+		-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
 		-Wno-dev
 
 PORTDATA=	*