set LIBZIP_LIBRARY to "" if libzip was not found
This commit is contained in:
parent
f71207159c
commit
79dd70c2f5
2 changed files with 3 additions and 1 deletions
|
|
@ -45,5 +45,7 @@ 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)
|
||||
SET(LIBZIP_LIBRARY "")
|
||||
SET(LIBZIP_INCLUDE_DIRS "")
|
||||
MESSAGE(STATUS "Could not find libzip")
|
||||
ENDIF (LIBZIP_FOUND)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue