diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2011-04-29 18:29:26 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2011-04-29 18:29:26 +0000 |
commit | b9b68170f08574cf84b54659d0a54c700c697528 (patch) | |
tree | b26663ba5e3254796dcd669a880eceb65c38db61 /cmake/modules | |
parent | 6ff4737f44838d6eea28d12a538c1b61c2c13075 (diff) |
Don't check for the existence of gzclearerr() any more.
Check for inflatePrime().
svn path=/trunk/; revision=36955
Diffstat (limited to 'cmake/modules')
-rw-r--r-- | cmake/modules/FindZLIB.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/FindZLIB.cmake b/cmake/modules/FindZLIB.cmake index 316f9e5115..3111573c67 100644 --- a/cmake/modules/FindZLIB.cmake +++ b/cmake/modules/FindZLIB.cmake @@ -37,11 +37,11 @@ SET(ZLIB_LIBRARIES "${ZLIB_LIBRARY}") INCLUDE(CheckFunctionExists) SET(CMAKE_REQUIRED_LIBRARIES ${ZLIB_LIBRARIES}) -CHECK_FUNCTION_EXISTS("gzclearerr" HAVE_GZCLEARERR) +CHECK_FUNCTION_EXISTS("inflatePrime" HAVE_INFLATEPRIME) # reset SET(CMAKE_REQUIRED_LIBRARIES "") -# handle the QUIETLY and REQUIRED arguments and set ZLIB_FOUND to TRUE if +# handle the QUIETLY and REQUIRED arguments and set ZLIB_FOUND to TRUE if # all listed variables are TRUE INCLUDE(FindPackageHandleStandardArgs) FIND_PACKAGE_HANDLE_STANDARD_ARGS(ZLIB DEFAULT_MSG ZLIB_LIBRARIES ZLIB_INCLUDE_DIRS) |