2 # Find the native ZLIB includes and library
4 # ZLIB_INCLUDE_DIR - where to find zlib.h, etc.
5 # ZLIB_LIBRARIES - List of fully qualified libraries to link against when using zlib.
6 # ZLIB_FOUND - Do not attempt to use zlib if "no" or undefined.
8 FIND_PATH(ZLIB_INCLUDE_DIR zlib.h
13 FIND_LIBRARY(ZLIB_LIBRARY z
20 SET( ZLIB_LIBRARIES ${ZLIB_LIBRARY} )
21 SET( ZLIB_FOUND "YES" )
23 ENDIF(ZLIB_INCLUDE_DIR)