git: 26b8135fe4fc - main - graphics/embree3: try to fix the build against CMake 4.x

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Wed, 07 Oct 2026 02:07:21 UTC
The branch main has been updated by danfe:

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

commit 26b8135fe4fc7966b569054edf58c68d5b298b16
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2026-10-07 02:05:56 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2026-10-07 02:05:56 +0000

    graphics/embree3: try to fix the build against CMake 4.x
    
    While here, add forgotten type annotation in the similar
    commit made to `math/fastops' port earlier.
    
    PR:     299180
    Fixes:  fa07c9073bc9
---
 graphics/embree3/Makefile | 1 +
 math/fastops/Makefile     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/graphics/embree3/Makefile b/graphics/embree3/Makefile
index 6bec01a02160..54e417e79685 100644
--- a/graphics/embree3/Makefile
+++ b/graphics/embree3/Makefile
@@ -22,6 +22,7 @@ USE_GITHUB=	yes
 
 CMAKE_ARGS=	-DEMBREE_TASKING_SYSTEM:STRING=${_ETS} \
 		-DCMAKE_INSTALL_DOCDIR:STRING=${DOCSDIR} \
+		-DCMAKE_POLICY_VERSION_MINIMUM:STRING=3.5 \
 		-DEMBREE_RAY_MASK:BOOL=ON
 
 DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
diff --git a/math/fastops/Makefile b/math/fastops/Makefile
index f9526dcc5fe7..30a5df9c9030 100644
--- a/math/fastops/Makefile
+++ b/math/fastops/Makefile
@@ -15,7 +15,7 @@ ONLY_FOR_ARCHS_REASON=	uses AVX and AVX2 instructions
 USES=		cmake compiler:c++17-lang
 USE_GITHUB=	yes
 GH_ACCOUNT=	yandex
-CMAKE_ARGS=	-DCMAKE_POLICY_VERSION_MINIMUM=3.5
+CMAKE_ARGS=	-DCMAKE_POLICY_VERSION_MINIMUM:STRING=3.5
 
 do-test:
 	${TEST_WRKSRC}/${PORTNAME}/ut/${PORTNAME}_test