From 9618e4f37f05e140eba448a4b34d6de0f73c2d57 Mon Sep 17 00:00:00 2001 From: Anton Dukhovnikov Date: Thu, 16 Nov 2023 15:06:38 +1300 Subject: [PATCH] [feat] openexr writer Signed-off-by: Anton Dukhovnikov --- configure.cmake | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/configure.cmake b/configure.cmake index 2592e55..1c99dcb 100644 --- a/configure.cmake +++ b/configure.cmake @@ -16,13 +16,13 @@ find_package ( Boost REQUIRED if ( USE_OPENEXR ) find_package ( OpenEXR CONFIG QUIET ) - if ( openexr_FOUND ) - message ( STATUS "OpenEXR config found ${openexr_VERSION}" ) - set ( OPENEXR_CONFIG_FOUND TRUE ) + if ( OpenEXR_FOUND ) + message ( STATUS "OpenEXR config found ${openexr_VERSION}" ) + set ( OPENEXR_CONFIG_FOUND TRUE ) else () - message ( WARNING "OpenEXR config not found" ) - find_package ( OpenEXR MODULE REQUIRED ) - endif () + message ( WARNING "OpenEXR config not found" ) + find_package ( OpenEXR MODULE REQUIRED ) + endif () else () find_package ( AcesContainer CONFIG REQUIRED ) endif ()