diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2a8af3b7..59422478 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,12 +40,12 @@ find_package(ZLIB REQUIRED) find_package(OpenSSL) -if (NOT CRYPTO_FOUND) +if (NOT CRYPTO_LIBRARY) find_package(GCrypt) - if (NOT GCRYPT_FOUND) + if (NOT GCRYPT_LIBRARY) message(FATAL_ERROR "Could not find OpenSSL or GCrypt") - endif (NOT GCRYPT_FOUND) -endif (NOT CRYPTO_FOUND) + endif (NOT GCRYPT_LIBRARY) +endif (NOT CRYPTO_LIBRARY) # config.h checks include(ConfigureChecks.cmake) |