diff options
Diffstat (limited to 'ConfigureChecks.cmake')
-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) |