CMake: search for shared `minizip-ng` as `minizip`
The pkgconfig file for `minizip-ng` is `minizip.pc.cmakein`.
This commit is contained in:
parent
9d350fd56b
commit
2929742d82
|
@ -790,7 +790,7 @@ endif()
|
||||||
|
|
||||||
add_subdirectory(Externals/zlib-ng)
|
add_subdirectory(Externals/zlib-ng)
|
||||||
|
|
||||||
pkg_check_modules(MINIZIP minizip-ng>=3.0.0)
|
pkg_check_modules(MINIZIP minizip>=3.0.0)
|
||||||
if(MINIZIP_FOUND)
|
if(MINIZIP_FOUND)
|
||||||
message(STATUS "Using shared minizip")
|
message(STATUS "Using shared minizip")
|
||||||
include_directories(${MINIZIP_INCLUDE_DIRS})
|
include_directories(${MINIZIP_INCLUDE_DIRS})
|
||||||
|
|
Loading…
Reference in New Issue