File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ set(OPENEXR_OJPH_REPO "https://github.com/palemieux/OpenJPH.git" CACHE STRING "O
309309set (OPENEXR_OJPH_TAG "add-export" CACHE STRING "OpenJPH Git repo tag" )
310310
311311if (OPENEXR_OJPH_USE_FINDPACKAGE)
312- find_package (openjph 0.19 REQUIRED )
312+ find_package (openjph 0.19 QUIET )
313313
314314 if (openjph_FOUND)
315315 message (STATUS "Found OpenJPH using find_package." )
@@ -323,6 +323,8 @@ if (OPENEXR_OJPH_USE_FINDPACKAGE)
323323 if (openjph_FOUND)
324324 set (EXR_OPENJPH_LIB PkgConfig::openjph)
325325 message (STATUS "Found OpenJPH using PkgConfig at ${deflate_LINK_LIBRARIES} " )
326+ else ()
327+ message (ERROR "Failed to find OpenJPH using find_package and PkgConfig." )
326328 endif ()
327329 endif ()
328330 endif ()
You can’t perform that action at this time.
0 commit comments