Require minizip 2.0.0 or newer

Minizip 1.x is the old broken version, while 2.x is the newer fork we
use. Many distros ship the old version which is causing stack smashing
in RedumpVerifier, so we'll only use the shared lib if it's the newer
version.
This commit is contained in:
Techjar 2020-04-28 20:42:02 -04:00
parent ac18f7e884
commit d5f356f937

View File

@ -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()