Skip to content

Commit f8ef561

Browse files
committed
Try using ZLIB
Signed-off-by: Darby Johnston <[email protected]>
1 parent d2b7f7f commit f8ef561

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,9 @@ endif()
266266

267267
#----- zlib
268268
if(OTIO_FIND_ZLIB)
269-
find_package(zlib CONFIG REQUIRED)
270-
if (zlib_FOUND)
271-
message(STATUS "Found zlib at ${zlib_CONFIG}")
269+
find_package(ZLIB CONFIG REQUIRED)
270+
if (ZLIB_FOUND)
271+
message(STATUS "Found zlib at ${ZLIB_CONFIG}")
272272
endif()
273273
else()
274274
message(STATUS "Using src/deps/zlib by default")

src/opentimelineio/OpenTimelineIOConfig.cmake.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
include(CMakeFindDependencyMacro)
44
find_dependency(OpenTime)
55
find_dependency(Imath)
6-
find_dependency(zlib)
6+
find_dependency(ZLIB)
77

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

0 commit comments

Comments
 (0)