summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-06-22 12:53:04 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-06-22 12:53:04 (GMT)
commit54e293db0655f2b741ede2186360b2694b6ecf8b (patch)
treee1b9133b24ee00cfbf4750b442501f406dbf1959
parented59f4ba677b2135f506844c3040adf518c59ff0 (diff)
parent4bb83514147fef6f96635a1e7940ddf568fde228 (diff)
downloadCMake-54e293db0655f2b741ede2186360b2694b6ecf8b.zip
CMake-54e293db0655f2b741ede2186360b2694b6ecf8b.tar.gz
CMake-54e293db0655f2b741ede2186360b2694b6ecf8b.tar.bz2
Merge topic 'FindZLIB-fixup'
4bb83514 FindZLIB: Do not mark unused variable as advanced
-rw-r--r--Modules/FindZLIB.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindZLIB.cmake b/Modules/FindZLIB.cmake
index a57f450..0b36d6f 100644
--- a/Modules/FindZLIB.cmake
+++ b/Modules/FindZLIB.cmake
@@ -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 \"[^\"]*\"$")