diff --git a/CMakeLists.txt b/CMakeLists.txt index ec4befb07..f8c48a83d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -225,6 +225,10 @@ endif(GCRYPT_LIBRARIES) # gnutls (using find_library and find_path) find_library(GNUTLS_LIBRARIES gnutls-openssl) +if(NOT GNUTLS_LIBRARIES) + find_library(GNUTLS_LIBRARIES gnutls) +endif(NOT GNUTLS_LIBRARIES) + if(GNUTLS_LIBRARIES) set(HAVE_LIBGNUTLS 1) list(APPEND ZM_BIN_LIBS "${GNUTLS_LIBRARIES}")