diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2011-04-07 16:22:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-04-07 16:38:43 (GMT) |
commit | 0dafc0a8ed7a8951d9d17218255cca66ce787a9c (patch) | |
tree | 3a85bf723694a638690881c433582fa85ab5111b /Modules/FindZLIB.cmake | |
parent | c2f8a137152d9dc4cc08b156284f916561e1455c (diff) | |
download | CMake-0dafc0a8ed7a8951d9d17218255cca66ce787a9c.zip CMake-0dafc0a8ed7a8951d9d17218255cca66ce787a9c.tar.gz CMake-0dafc0a8ed7a8951d9d17218255cca66ce787a9c.tar.bz2 |
FindZLIB: print library instead of include directory
Before:
-- Found ZLIB: /usr/include (found version "1.2.3")
After:
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.3")
Diffstat (limited to 'Modules/FindZLIB.cmake')
-rw-r--r-- | Modules/FindZLIB.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindZLIB.cmake b/Modules/FindZLIB.cmake index 2062a7e..77f9fda 100644 --- a/Modules/FindZLIB.cmake +++ b/Modules/FindZLIB.cmake @@ -67,7 +67,7 @@ ENDIF() # handle the QUIETLY and REQUIRED arguments and set ZLIB_FOUND to TRUE if # all listed variables are TRUE INCLUDE(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) -FIND_PACKAGE_HANDLE_STANDARD_ARGS(ZLIB REQUIRED_VARS ZLIB_INCLUDE_DIR ZLIB_LIBRARY +FIND_PACKAGE_HANDLE_STANDARD_ARGS(ZLIB REQUIRED_VARS ZLIB_LIBRARY ZLIB_INCLUDE_DIR VERSION_VAR ZLIB_VERSION_STRING) IF(ZLIB_FOUND) |