From d3d7f08d6a7c9738856b6b3d55c8f255fe881463 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sat, 28 Mar 2009 21:14:45 +0000 Subject: Fix zlib detection. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@288 7dcaeef0-15fb-0310-b436-a5af3365683c --- ConfigureChecks.cmake | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ConfigureChecks.cmake') 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) + -- cgit v1.2.3