Skip to content

Commit 0565975

Browse files
committed
Find minizip
Signed-off-by: Darby Johnston <[email protected]>
1 parent f8ef561 commit 0565975

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,12 +264,16 @@ else()
264264
message(STATUS "Using src/deps/rapidjson by default")
265265
endif()
266266

267-
#----- zlib
267+
#----- zlib and minizip
268268
if(OTIO_FIND_ZLIB)
269269
find_package(ZLIB CONFIG REQUIRED)
270+
find_package(minizip CONFIG REQUIRED)
270271
if (ZLIB_FOUND)
271272
message(STATUS "Found zlib at ${ZLIB_CONFIG}")
272273
endif()
274+
if (minizip_FOUND)
275+
message(STATUS "Found minizip at ${minizip_CONFIG}")
276+
endif()
273277
else()
274278
message(STATUS "Using src/deps/zlib by default")
275279
endif()

src/opentimelineio/OpenTimelineIOConfig.cmake.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ include(CMakeFindDependencyMacro)
44
find_dependency(OpenTime)
55
find_dependency(Imath)
66
find_dependency(ZLIB)
7+
find_dependency(minizip)
78

89
include("${CMAKE_CURRENT_LIST_DIR}/OpenTimelineIOTargets.cmake")

0 commit comments

Comments
 (0)