Merge pull request #8862 from tokumeiwokiboushimasu/master

Specify the system minizip's include directory
This commit is contained in:
Tilka 2020-06-14 11:49:01 +01:00 committed by GitHub
commit d9e05559c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -629,6 +629,7 @@ endif()
pkg_check_modules(MINIZIP minizip>=2.0.0)
if(MINIZIP_FOUND)
message(STATUS "Using shared minizip")
include_directories(${MINIZIP_INCLUDE_DIRS})
else()
check_vendoring_approved(minizip)
message(STATUS "Shared minizip not found, falling back to the static library")