dont fail in FindLibZip if if libzip cannot be found

This commit is contained in:
Patrick Brosi 2022-10-12 12:11:58 +02:00
parent 57545ced30
commit f71207159c

View file

@ -45,5 +45,5 @@ MARK_AS_ADVANCED(LIBZIP_LIBRARY LIBZIP_INCLUDE_DIR LIBZIP_CONF_INCLUDE_DIR LIBZI
IF (LIBZIP_FOUND)
MESSAGE(STATUS "Found libzip: ${LIBZIP_LIBRARY}")
ELSE (LIBZIP_FOUND)
MESSAGE(FATAL_ERROR "Could not find libzip")
MESSAGE(STATUS "Could not find libzip")
ENDIF (LIBZIP_FOUND)