From 6fb6d16f0a6647fe0b36a6f1703713990fa8bb5f Mon Sep 17 00:00:00 2001 From: tokumeiwokiboushimasu Date: Thu, 11 Jun 2020 17:15:41 +0900 Subject: [PATCH] Specify the system minizip's include directory Without this, build fails on Fedora32. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f369a26518..9288ca0321 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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")