1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-08 19:02:06 +03:00

cmake: Fixed ZLIB configure check.

This commit is contained in:
Andreas Schneider
2011-01-18 18:56:24 +01:00
parent 625692f4c5
commit 460d43f050

View File

@@ -121,9 +121,9 @@ if (GCRYPT_FOUND)
set(HAVE_LIBGCRYPT 1) set(HAVE_LIBGCRYPT 1)
endif (GCRYPT_FOUND) endif (GCRYPT_FOUND)
if (Z_LIBRARY) if (ZLIB_LIBRARY)
set(HAVE_LIBZ 1) set(HAVE_LIBZ 1)
endif (Z_LIBRARY) endif (ZLIB_LIBRARY)
if (CMAKE_HAVE_THREADS_LIBRARY) if (CMAKE_HAVE_THREADS_LIBRARY)
if (CMAKE_USE_PTHREADS_INIT) if (CMAKE_USE_PTHREADS_INIT)