$NetBSD: patch-CMakeLists.txt,v 1.1 2021/07/08 21:31:49 markd Exp $

use openexr 3.x

--- CMakeLists.txt.orig	2021-07-07 22:42:12.771880448 +0000
+++ CMakeLists.txt
@@ -42,7 +42,7 @@ if (UNIX)
     endif()
 endif()
 
-find_package(OpenEXR)
+find_package(OpenEXR CONFIG)
 set_package_properties(OpenEXR PROPERTIES
     TYPE OPTIONAL
     PURPOSE "Required for the QImage plugin for OpenEXR images"
