git: 6a09af663c6d - main - graphics/polyclipping: Fix building with CMake 4

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sun, 27 Sep 2026 09:02:31 UTC
The branch main has been updated by arrowd:

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

commit 6a09af663c6d4d0f29b5a981f1566c9fcfac5824
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-09-27 09:00:55 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-09-27 09:01:14 +0000

    graphics/polyclipping: Fix building with CMake 4
    
    Approved by:    portmgr (fixit blanket)
---
 graphics/polyclipping/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/graphics/polyclipping/Makefile b/graphics/polyclipping/Makefile
index aeb986712a7d..537dc405beb3 100644
--- a/graphics/polyclipping/Makefile
+++ b/graphics/polyclipping/Makefile
@@ -16,6 +16,7 @@ USE_LDCONFIG=	yes
 
 NO_WRKSUBDIR=	yes
 
+CMAKE_ARGS=		-DCMAKE_POLICY_VERSION_MINIMUM=3.5
 CMAKE_SOURCE_PATH=	${WRKSRC}/cpp
 
 PLIST_FILES=	include/polyclipping/clipper.hpp \