git: 80739e8fbe76 - main - graphics/heimer: Fix building with CMake 4

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

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

commit 80739e8fbe76c5be4d8b76473dc5c98821f1bb8a
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-09-07 18:19:57 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-09-07 18:21:26 +0000

    graphics/heimer: Fix building with CMake 4
    
    It is already fixed upstream the proper way, so this knob is only a temporary
    measure.
    
    Approved by:    portmgr (fixit blanket)
---
 graphics/heimer/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/graphics/heimer/Makefile b/graphics/heimer/Makefile
index 2645244debc8..2023279c06cb 100644
--- a/graphics/heimer/Makefile
+++ b/graphics/heimer/Makefile
@@ -15,6 +15,7 @@ USE_GL=		opengl
 USE_QT=		base svg translations
 
 CMAKE_ON=	BUILD_WITH_QT6
+CMAKE_ARGS=	-DCMAKE_POLICY_VERSION_MINIMUM=3.5
 
 PORTDOCS=	README.md