diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2011-01-18 18:56:24 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-01-18 18:56:24 +0100 |
commit | 460d43f0508bb591afbf09b2548a6ab2d65601e9 (patch) | |
tree | fa65d32a747709c4b5af76f30db646a9e60c8493 | |
parent | 625692f4c5d31ef72f1117b9d6f4168415a00514 (diff) | |
download | libssh-460d43f0508bb591afbf09b2548a6ab2d65601e9.tar.gz libssh-460d43f0508bb591afbf09b2548a6ab2d65601e9.tar.xz libssh-460d43f0508bb591afbf09b2548a6ab2d65601e9.zip |
cmake: Fixed ZLIB configure check.
-rw-r--r-- | ConfigureChecks.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 0b01375b..1860219d 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -121,9 +121,9 @@ if (GCRYPT_FOUND) set(HAVE_LIBGCRYPT 1) endif (GCRYPT_FOUND) -if (Z_LIBRARY) +if (ZLIB_LIBRARY) set(HAVE_LIBZ 1) -endif (Z_LIBRARY) +endif (ZLIB_LIBRARY) if (CMAKE_HAVE_THREADS_LIBRARY) if (CMAKE_USE_PTHREADS_INIT) |