CMake: search for shared `minizip-ng` as `minizip`

The pkgconfig file for `minizip-ng` is `minizip.pc.cmakein`.
This commit is contained in:
SuperSamus 2023-01-14 12:39:12 +01:00 committed by GitHub
parent 9d350fd56b
commit 2929742d82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -790,7 +790,7 @@ endif()
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)
message(STATUS "Using shared minizip")
include_directories(${MINIZIP_INCLUDE_DIRS})