CMake: Fix build with libzip 1.7.1
Vicki Pfau vi@endrift.com
Fri, 07 Aug 2020 23:17:03 -0700
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
CMakeLists.txt
→
CMakeLists.txt
@@ -636,6 +636,8 @@
if(USE_LIBZIP) if(TARGET libzip::zip) list(APPEND DEPENDENCY_LIB libzip::zip) + elseif(TARGET zip) + list(APPEND DEPENDENCY_LIB zip) else() include_directories(AFTER ${LIBZIP_INCLUDE_DIRS}) link_directories(${LIBZIP_LIBRARY_DIRS})