diff --git a/CMakeLists.txt b/CMakeLists.txt index 7d1eb11..ea380bc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -55,13 +55,14 @@ if(TARGET ZLIB::ZLIB) message( STATUS " ZLIB_LIBRARY : ${ZLIB_LIBRARY}" ) else() message( STATUS "ZLIB was not found") - message( STAUTS " ZLIB is automatically linked when using OpenEXR 3.x but CTL needs to link to ZLIB if using OpenEXR 2.x" ) + message( STATUS " ZLIB is automatically linked when using OpenEXR 3.x but CTL needs to link to ZLIB if using OpenEXR 2.x" ) endif() find_package(OpenEXR 3 CONFIG QUIET) if(OpenEXR_FOUND) message(STATUS "Found OpenEXR ${OpenEXR_VERSION}") else() + message(STATUS "OpenEXR v3 not found, looking for IlmBase and OpenEXR v2") find_package(IlmBase REQUIRED) find_package(OpenEXR 2 REQUIRED) endif()