README.md edited online with Bitbucket
[swg-src.git] / src / cmake / win32 / FindZlib.cmake
blob6f4e564b135138eca9582cef77f5d517cea31b71
2 find_path(ZLIB_INCLUDE_DIR
3         PATHS ${SWG_EXTERNALS_FIND}/Zlib/include
4         NAMES zlib.h )
5         
6         
7   find_library(ZLIB_LIBRARY  
8         NAMES zlib 
9         PATHS ${SWG_EXTERNALS_FIND}/Zlib/lib/win32) 
11 # handle the QUIETLY and REQUIRED arguments and set OPENAL_FOUND to TRUE if
12 # all listed variables are TRUE
13 include(FindPackageHandleStandardArgs)
14 find_package_handle_standard_args(ZLIB DEFAULT_MSG ZLIB_INCLUDE_DIR ZLIB_LIBRARY)
16 mark_as_advanced(ZLIB_INCLUDE_DIR ZLIB_LIBRARY)