Merge topic 'FindZLIB-fixup'

4bb83514 FindZLIB: Do not mark unused variable as advanced
This commit is contained in:
Brad King 2016-06-22 08:53:04 -04:00 committed by CMake Topic Stage
commit 54e293db06
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ endif()
unset(ZLIB_NAMES)
unset(ZLIB_NAMES_DEBUG)
mark_as_advanced(ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
mark_as_advanced(ZLIB_INCLUDE_DIR)
if(ZLIB_INCLUDE_DIR AND EXISTS "${ZLIB_INCLUDE_DIR}/zlib.h")
file(STRINGS "${ZLIB_INCLUDE_DIR}/zlib.h" ZLIB_H REGEX "^#define ZLIB_VERSION \"[^\"]*\"$")