git: 7018441a4508 - main - x11/sddm: Fix building with CMake 4

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

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

commit 7018441a4508c32538d861889a88616b074ce62f
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-10-14 14:25:50 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-10-14 14:25:50 +0000

    x11/sddm: Fix building with CMake 4
---
 x11/sddm/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/x11/sddm/Makefile b/x11/sddm/Makefile
index ab120a06324f..2d32f7318be3 100644
--- a/x11/sddm/Makefile
+++ b/x11/sddm/Makefile
@@ -41,7 +41,8 @@ CMAKE_ARGS=	-DACCOUNTSSERVICE_DATA_DIR:PATH=/var/db/AccountsService \
 		-DRST2MAN_EXECUTABLE=${LOCALBASE}/bin/rst2man \
 		-DSDDM_INITIAL_VT=9 \
 		-DUID_MIN=1000 \
-		-DUID_MAX=65000
+		-DUID_MAX=65000 \
+		-DCMAKE_POLICY_VERSION_MINIMUM=3.5
 CMAKE_ON=	BUILD_MAN_PAGES \
 		BUILD_WITH_QT6