git: f451b9caa1c3 - main - devel/heimdall: Fix building with CMake 4

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Mon, 07 Sep 2026 16:07:46 UTC
The branch main has been updated by arrowd:

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

commit f451b9caa1c30877895afb60f4433987515f979f
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-09-07 16:06:30 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-09-07 16:06:30 +0000

    devel/heimdall: Fix building with CMake 4
---
 devel/heimdall/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/devel/heimdall/Makefile b/devel/heimdall/Makefile
index 6a4233aa1a13..09d7165472b7 100644
--- a/devel/heimdall/Makefile
+++ b/devel/heimdall/Makefile
@@ -14,6 +14,8 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 USES=		compiler:c++11-lang cmake:insource
 USE_GITHUB=	yes
 
+CMAKE_ARGS=	-DCMAKE_POLICY_VERSION_MINIMUM=3.5
+
 OPTIONS_DEFINE=	DOCS GUI
 OPTIONS_DEFAULT=GUI
 OPTIONS_SUB=	yes