Skip to content

Commit

Permalink
Update Installminizip-ng.cmake (#1986)
Browse files Browse the repository at this point in the history
Fix an occasional race condition caused by zlib building before minizip-ng.

Signed-off-by: Sławomir Śpiewak <[email protected]>
Co-authored-by: Doug Walker <[email protected]>
  • Loading branch information
SlawekNowy and doug-walker committed Jul 22, 2024
1 parent 360e66d commit 1e17c9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions share/cmake/modules/install/Installminizip-ng.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ if(NOT minizip-ng_FOUND AND OCIO_INSTALL_EXT_PACKAGES AND NOT OCIO_INSTALL_EXT_P
--config ${CMAKE_BUILD_TYPE}
--target install
--parallel
DEPENDS ZLIB::ZLIB # minizip-ng depends on zlib
)

add_dependencies(MINIZIP::minizip-ng minizip-ng_install)
Expand Down

0 comments on commit 1e17c9a

Please sign in to comment.