mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-08-08 19:02:06 +03:00
cmake: Fixed ZLIB configure check.
This commit is contained in:
@@ -121,9 +121,9 @@ if (GCRYPT_FOUND)
|
|||||||
set(HAVE_LIBGCRYPT 1)
|
set(HAVE_LIBGCRYPT 1)
|
||||||
endif (GCRYPT_FOUND)
|
endif (GCRYPT_FOUND)
|
||||||
|
|
||||||
if (Z_LIBRARY)
|
if (ZLIB_LIBRARY)
|
||||||
set(HAVE_LIBZ 1)
|
set(HAVE_LIBZ 1)
|
||||||
endif (Z_LIBRARY)
|
endif (ZLIB_LIBRARY)
|
||||||
|
|
||||||
if (CMAKE_HAVE_THREADS_LIBRARY)
|
if (CMAKE_HAVE_THREADS_LIBRARY)
|
||||||
if (CMAKE_USE_PTHREADS_INIT)
|
if (CMAKE_USE_PTHREADS_INIT)
|
||||||
|
Reference in New Issue
Block a user