externals: Fix case spelling of libzip.

CMake is case senstive, so Libzip vs LIBZIP was a bug.
Upstream calls themself libzip, so let's pick this naming.
This commit is contained in:
Markus Wick 2021-04-01 17:23:46 +02:00
parent d69421b1db
commit d3e87d70ec
3 changed files with 74 additions and 74 deletions

View file

@ -64,8 +64,8 @@ endif()
add_subdirectory(sirit)
# libzip
find_package(Libzip 1.5)
if (NOT LIBZIP_FOUND)
find_package(libzip 1.5)
if (NOT libzip_FOUND)
message(STATUS "libzip 1.5 or newer not found, falling back to externals")
add_subdirectory(libzip EXCLUDE_FROM_ALL)
endif()