diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2010-04-10 05:53:22 (GMT) |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2010-04-11 08:55:50 (GMT) |
commit | 5ea499262156ce4e84beb692c67639f8c741479a (patch) | |
tree | 65f20bb6c98ca9fe61bb6fc97abdf9489adbda44 /Modules/FindZLIB.cmake | |
parent | d33303f22fba610532c400f1ed28be449dafab9f (diff) | |
download | CMake-5ea499262156ce4e84beb692c67639f8c741479a.zip CMake-5ea499262156ce4e84beb692c67639f8c741479a.tar.gz CMake-5ea499262156ce4e84beb692c67639f8c741479a.tar.bz2 |
FindZLIB: FindPackageHandleStandardArgs already contains the quiet handling
Diffstat (limited to 'Modules/FindZLIB.cmake')
-rw-r--r-- | Modules/FindZLIB.cmake | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Modules/FindZLIB.cmake b/Modules/FindZLIB.cmake index 8066343..9f3b50e 100644 --- a/Modules/FindZLIB.cmake +++ b/Modules/FindZLIB.cmake @@ -18,16 +18,11 @@ # (To distributed this file outside of CMake, substitute the full # License text for the above reference.) -IF (ZLIB_INCLUDE_DIR) - # Already in cache, be silent - SET(ZLIB_FIND_QUIETLY TRUE) -ENDIF (ZLIB_INCLUDE_DIR) - FIND_PATH(ZLIB_INCLUDE_DIR zlib.h) SET(ZLIB_NAMES z zlib zdll) -FIND_LIBRARY(ZLIB_LIBRARY NAMES ${ZLIB_NAMES} ) -MARK_AS_ADVANCED( ZLIB_LIBRARY ZLIB_INCLUDE_DIR ) +FIND_LIBRARY(ZLIB_LIBRARY NAMES ${ZLIB_NAMES}) +MARK_AS_ADVANCED(ZLIB_LIBRARY ZLIB_INCLUDE_DIR) # Per-recommendation SET(ZLIB_INCLUDE_DIRS "${ZLIB_INCLUDE_DIR}") |