summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmake/FindZIP.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindZIP.cmake b/cmake/FindZIP.cmake
index 423c07a..fa76352 100644
--- a/cmake/FindZIP.cmake
+++ b/cmake/FindZIP.cmake
@@ -13,7 +13,7 @@ ELSE(ZIP_LIBRARIES AND ZIP_INCLUDE_DIR)
FIND_PATH(ZIP_INCLUDE_DIR zip.h)
SET(ZIP_NAMES zip)
- FIND_LIBRARY(ZIP_LIBRARY NAMES ${ZIP_NAMES})
+ FIND_LIBRARY(ZIP_LIBRARIES NAMES ${ZIP_NAMES})
# handle the QUIETLY and REQUIRED arguments and set ZIP_FOUND to TRUE if
# all listed variables are TRUE