CMake: Include system libzip header path

This commit is contained in:
Brad Smith 2023-06-18 19:12:38 -04:00
parent 264c6d740b
commit 089a700d3e

View File

@ -939,6 +939,7 @@ endif()
find_package(LIBZIP)
if(LIBZIP_FOUND AND USE_SYSTEM_LIBZIP)
include_directories(${LIBZIP_INCLUDE_DIRS})
add_definitions(-DSHARED_LIBZIP)
else()
add_library(libzip STATIC