git: 1dd4a164cd08 - 2024Q2 - graphics/py-openimageio: Unbreak by using the c++17 flag

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 16 May 2024 18:05:51 UTC
The branch 2024Q2 has been updated by yuri:

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

commit 1dd4a164cd08d17e92c974f69e7818b14add992a
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-05-08 15:03:28 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-05-16 18:05:49 +0000

    graphics/py-openimageio: Unbreak by using the c++17 flag
    
    Approved by:    portmgr (blanket unbreak)
    
    (cherry picked from commit a00b2df8147b276624589bda02daf32b1c507e3d)
---
 graphics/openimageio/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/graphics/openimageio/Makefile b/graphics/openimageio/Makefile
index 61970bccf156..acd132050242 100644
--- a/graphics/openimageio/Makefile
+++ b/graphics/openimageio/Makefile
@@ -39,6 +39,7 @@ GH_PROJECT=	oiio
 CMAKE_OFF=	BUILDSTATIC INSTALL_FONTS LINKSTATIC NOTHREADS \
 		STOP_ON_WARNING USE_OPENSSL OIIO_DOWNLOAD_MISSING_TESTDATA \
 		USE_Package
+CMAKE_ARGS=	-DCMAKE_CXX_STANDARD=17 # OpenVDB uses the C++17 STL feature std::tuple_size_v; since the slave port py-openimageio excludes options - this is a global line here
 
 OPTIONS_DEFINE=		DICOM DOCS FFMPEG FREETYPE GIF IMAGEVIEWER \
 			OPENCV OPENJPEG PTEX RAW TBB TEST TOOLS VDB