Skip to content

Commit

Permalink
CMake: Include system libzip header path
Browse files Browse the repository at this point in the history
  • Loading branch information
brad0 committed Jun 18, 2023
1 parent 264c6d7 commit 089a700
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Expand Up @@ -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
Expand Down

0 comments on commit 089a700

Please sign in to comment.