Skip to content

Commit 34ed8b0

Browse files
committed
fix(deps): let minizip-ng find locally-built zlibs
Signed-off-by: Zach Lewis <zachcanbereached@gmail.com>
1 parent 72e8a29 commit 34ed8b0

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/cmake/build_minizip-ng.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ build_dependency_with_cmake(minizip-ng
4545
-D MZ_ICONV=OFF
4646
-D MZ_FETCH_LIBS=OFF
4747
-D MZ_FORCE_FETCH_LIBS=OFF
48-
-D ZLIB_LIBRARY=${ZLIB_LIBRARIES}
49-
-D ZLIB_INCLUDE_DIR=${ZLIB_INCLUDE_DIRS}
5048
)
5149

5250

src/cmake/externalpackages.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ if (ENABLE_ZLIBNG)
4747
if (ALLOW_ZLIB)
4848
checked_find_package (ZLIB PREFER_CONFIG REQUIRED)
4949
else ()
50+
# This assumption will hold until zlib-1.3.2 is released.
5051
checked_find_package (ZLIB CONFIG REQUIRED)
5152
endif ()
5253
else ()

0 commit comments

Comments
 (0)