git: 912bbc70f24d - main - devel/websocketpp: fix build with CMake 4

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 05 Oct 2026 20:00:46 UTC
The branch main has been updated by yuri:

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

commit 912bbc70f24db664f791a766ca170981e8598ce7
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-10-05 18:18:58 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-10-05 20:00:41 +0000

    devel/websocketpp: fix build with CMake 4
    
    PR:             298949
    Approved by:    Jan-Espen Oversand <sigsegv@radiotube.org> (maintainer)
---
 devel/websocketpp/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/devel/websocketpp/Makefile b/devel/websocketpp/Makefile
index 70784d13e2a8..5b124c6f32ae 100644
--- a/devel/websocketpp/Makefile
+++ b/devel/websocketpp/Makefile
@@ -19,6 +19,7 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	zaphoyd
 
 CMAKE_TESTING_ON=	BUILD_TESTS
+CMAKE_ARGS=	-DCMAKE_POLICY_VERSION_MINIMUM=3.5 # CMake 4.5 compatibility
 
 NO_ARCH=	yes