diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/CMakeLists.txt | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/lib/CMakeLists.txt b/src/lib/CMakeLists.txt index f126a52a..5a09c52e 100644 --- a/src/lib/CMakeLists.txt +++ b/src/lib/CMakeLists.txt @@ -41,7 +41,7 @@ if (HAVE_ROBUST_MUTEX) endif () endif () -find_library(LIBGCRYPT_LIBRARIES gcrypt) +find_library(LIBGCRYPT_LIBRARIES gcrypt QUIET) if (LIBGCRYPT_LIBRARIES) find_path(LIBGCRYPT_INCLUDE_DIR gcrypt.h HINTS /usr/include /usr/local/include) @@ -50,18 +50,17 @@ if (LIBGCRYPT_LIBRARIES) REGEX "^#define GCRYPT_VERSION ") string(REGEX REPLACE "^#define GCRYPT_VERSION \"(.*)\".*$" "\\1" GCVER "${GCSTR}") - message(STATUS "Found libgcrypt: ${LIBGCRYPT_LIBRARIES} " - "(found version \"${GCVER}\")") if (NOT GCVER VERSION_LESS "1.7.0") set (DISABLE_LIBGCRYPT FALSE CACHE BOOL "Disable libgcrypt support") if (NOT DISABLE_LIBGCRYPT) message(STATUS "libgcrypt support enabled") set(HAVE_LIBGCRYPT TRUE) else () - message(STATUS "libgcrpyt support disabled by user") + message(STATUS "libgcrypt support disabled by user") endif() else () - message(STATUS "Install version > \"1.7.0\" to enable libgcrypt support") + message(STATUS "Install version > \"1.7.0\" to enable libgcrypt support " + "(found version \"${GCVER})\"") endif() endif () endif () @@ -71,7 +70,7 @@ if (NOT HAVE_LIBGCRYPT) set(LIBGCRYPT_INCLUDE_DIR "") endif () -find_package(OpenSSL) +find_package(OpenSSL QUIET) if (OPENSSL_FOUND) set (DISABLE_OPENSSL FALSE CACHE BOOL "Disable OpenSSL support") if (NOT DISABLE_OPENSSL) |