Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Loading