summaryrefslogtreecommitdiff
path: root/externals/CMakeLists.txt
diff options
context:
space:
mode:
authorMarkus Wick <markus@selfnet.de>2021-04-01 17:23:46 +0200
committerMarkus Wick <markus@selfnet.de>2021-04-02 00:30:13 +0200
commitd3e87d70ec7dd9a0509c178d8ed20ec6bfd9f67d (patch)
treeeee0bd12dea7ca173df48ee23461d940a54db5fe /externals/CMakeLists.txt
parentd69421b1db33f2e1a2115de5100b15a0743675ea (diff)
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.
Diffstat (limited to 'externals/CMakeLists.txt')
-rw-r--r--externals/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt
index c629bbc5c..851c282b4 100644
--- a/externals/CMakeLists.txt
+++ b/externals/CMakeLists.txt
@@ -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()