Skip to content

Commit aa017b8

Browse files
committed
Fix broken OpenJPH dependency for OIIO
Signed-off-by: Jean-Francois Panisset <[email protected]>
1 parent cbce0c6 commit aa017b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/conan/recipes/oiio/conanfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def package_info(self):
341341
self.cpp_info.components["OpenImageIO"].requires.append("libultrahdr::libultrahdr")
342342
if self.options.with_python: # ASWF: build Python bindings
343343
self.cpp_info.components["OpenImageIO"].requires.append("cpython::cpython")
344-
if self.options.with_python: # ASWF: Use OpenJPH for JPEG-2000
344+
if self.options.with_openjph: # ASWF: Use OpenJPH for JPEG-2000
345345
self.cpp_info.components["OpenImageIO"].requires.append("openjph::openjph")
346346
if self.settings.os in ["Linux", "FreeBSD"]:
347347
self.cpp_info.components["OpenImageIO"].system_libs.extend(["dl", "m", "pthread"])

0 commit comments

Comments
 (0)