Skip to content

Commit

Permalink
Announce minizip only for newer versions as the v1.1.1 test package d…
Browse files Browse the repository at this point in the history
…oesn't find it
  • Loading branch information
irieger committed Mar 16, 2024
1 parent 606e6be commit 38d395c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion recipes/opencolorio/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ def package_info(self):
self.cpp_info.libs = ["OpenColorIO"]

self.cpp_info.requires.append("expat::expat")
self.cpp_info.requires.append("minizip-ng::minizip")
self.cpp_info.requires.append("yaml-cpp::yaml-cpp")
self.cpp_info.requires.append("openexr::openexr")
self.cpp_info.requires.append("lcms::lcms")
Expand All @@ -202,6 +201,8 @@ def package_info(self):
self.cpp_info.requires.append("tinyxml::tinyxml")
if Version(self.version) >= "2.2.0":
self.cpp_info.requires.append("imath::imath")
if Version(self.version) >= "2.3.0":
self.cpp_info.requires.append("minizip-ng::minizip")

if Version(self.version) < "2.1.0":
if not self.options.shared:
Expand Down

0 comments on commit 38d395c

Please sign in to comment.