Skip to content

Commit

Permalink
Support minizip version 3 and 4 as well
Browse files Browse the repository at this point in the history
minizip-ng versions are 3 and 4, so support it in CMakeList as well
  • Loading branch information
ljavorsk committed Jan 4, 2024
1 parent 525a202 commit be4239d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ find_package(ZLIB REQUIRED)
find_package(MiniZip 1 QUIET) # version range (0...<2.0.0) requires CMake>=3.19
if(UNIX AND NOT APPLE)
find_package(PkgConfig)
pkg_check_modules(MINIZIP minizip IMPORTED_TARGET minizip<2.0.0)
pkg_check_modules(MINIZIP minizip IMPORTED_TARGET minizip<5.0.0)
endif()
find_package(SWIG)
find_package(JNI)
Expand Down

0 comments on commit be4239d

Please sign in to comment.