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 b24205f commit 8473062Copy full SHA for 8473062
cmake/OpenEXRSetup.cmake
@@ -323,8 +323,6 @@ if (OPENEXR_OJPH_USE_FINDPACKAGE)
323
if(openjph_FOUND)
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
@@ -354,6 +352,9 @@ else()
354
352
message(STATUS "Building OpenJPH from ${OPENEXR_OJPH_REPO}.")
355
353
356
+if (NOT EXR_OPENJPH_LIB)
+ message(ERROR "Failed to find OpenJPH.")
357
+endif()
358
359
#######################################
360
# Find or install Imath
0 commit comments