Skip to content

Commit

Permalink
Update FindExtPackages.cmake
Browse files Browse the repository at this point in the history
Signed-off-by: Sławomir Śpiewak <sosw.slawomir.spiewak@gmail.com>
  • Loading branch information
SlawekNowy committed Apr 12, 2024
1 parent 67a26e4 commit 025e7c0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions share/cmake/modules/FindExtPackages.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ ocio_handle_dependency( minizip-ng REQUIRED ALLOW_INSTALL
MIN_VERSION 3.0.6
RECOMMENDED_VERSION 3.0.7
RECOMMENDED_VERSION_REASON "Latest version tested with OCIO")
#minizip-ng requires zlib headers, so we force the dep.
if(TARGET ZLIB::ZLIB AND TARGET MINIZIP::minizip-ng)
add_dependencies(MINIZIP::minizip-ng ZLIB::ZLIB)
endif()

###############################################################################
##
Expand Down

0 comments on commit 025e7c0

Please sign in to comment.