aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-03-28 21:14:45 +0000
committerAndreas Schneider <mail@cynapses.org>2009-03-28 21:14:45 +0000
commitd3d7f08d6a7c9738856b6b3d55c8f255fe881463 (patch)
tree722ae0af2ef3e66ce7b56caa7637033a45489e0a
parent3b38c66b3d70d1435be4b5bd7052ec8c2800a6b3 (diff)
downloadlibssh-d3d7f08d6a7c9738856b6b3d55c8f255fe881463.tar.gz
libssh-d3d7f08d6a7c9738856b6b3d55c8f255fe881463.tar.xz
libssh-d3d7f08d6a7c9738856b6b3d55c8f255fe881463.zip
Fix zlib detection.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@288 7dcaeef0-15fb-0310-b436-a5af3365683c
-rw-r--r--ConfigureChecks.cmake7
1 files changed, 4 insertions, 3 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 8360281e..70924d2b 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -45,10 +45,11 @@ if (GCRYPT_LIBRARY)
set(HAVE_LIBGCRYPT 1)
endif (GCRYPT_LIBRARY)
-if (ZLIB_LIBRARY)
- set(HAVE_ZLIB 1)
-endif (ZLIB_LIBRARY)
+if (Z_LIBRARY)
+ set(HAVE_LIBZ 1)
+endif (Z_LIBRARY)
if (WITH_SSH1)
set(HAVE_SSH1 1)
endif (WITH_SSH1)
+