diff --git a/CMakeLists.txt b/CMakeLists.txt index 06e7a46cc8..39ff1a40cc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -610,7 +610,7 @@ else() add_subdirectory(Externals/zlib) endif() -pkg_check_modules(MINIZIP minizip) +pkg_check_modules(MINIZIP minizip>=2.0.0) if(MINIZIP_FOUND) message(STATUS "Using shared minizip") else()