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")
This commit is contained in:
parent
c2f8a13715
commit
0dafc0a8ed
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue