From 460d43f0508bb591afbf09b2548a6ab2d65601e9 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 18 Jan 2011 18:56:24 +0100 Subject: [PATCH] cmake: Fixed ZLIB configure check. --- ConfigureChecks.cmake | 4 ++-- 1 file 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)