We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e84649 commit b24205fCopy full SHA for b24205f
cmake/OpenEXRSetup.cmake
@@ -309,7 +309,7 @@ set(OPENEXR_OJPH_REPO "https://github.com/palemieux/OpenJPH.git" CACHE STRING "O
309
set(OPENEXR_OJPH_TAG "add-export" CACHE STRING "OpenJPH Git repo tag")
310
311
if (OPENEXR_OJPH_USE_FINDPACKAGE)
312
- find_package(openjph 0.19 REQUIRED)
+ find_package(openjph 0.19 QUIET)
313
314
if(openjph_FOUND)
315
message(STATUS "Found OpenJPH using find_package.")
@@ -323,6 +323,8 @@ if (OPENEXR_OJPH_USE_FINDPACKAGE)
323
324
set(EXR_OPENJPH_LIB PkgConfig::openjph)
325
message(STATUS "Found OpenJPH using PkgConfig at ${deflate_LINK_LIBRARIES}")
326
+ else()
327
+ message(ERROR "Failed to find OpenJPH using find_package and PkgConfig.")
328
endif()
329
330
0 commit comments