diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-05-07 15:11:04 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-05-07 15:11:04 +0000 |
commit | f29e119c2556db33a337b6317464eb06fe4a9763 (patch) | |
tree | 4a8fd98ff1c28cc726b58dc4c1722cba8d7d5d48 /CMakeLists.txt | |
parent | 126dcd51e5d8d418852ab6c74b238a06a45b0bf9 (diff) | |
download | libssh-f29e119c2556db33a337b6317464eb06fe4a9763.tar.gz libssh-f29e119c2556db33a337b6317464eb06fe4a9763.tar.xz libssh-f29e119c2556db33a337b6317464eb06fe4a9763.zip |
Improve OpenSSL cmake checks.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@752 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c24bf6b6..d935827f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,12 +40,12 @@ find_package(ZLIB REQUIRED) find_package(OpenSSL) -if (NOT CRYPTO_LIBRARY) +if (NOT CRYPTO_FOUND) find_package(GCrypt) if (NOT GCRYPT_FOUND) message(FATAL_ERROR "Could not find OpenSSL or GCrypt") endif (NOT GCRYPT_FOUND) -endif (NOT CRYPTO_LIBRARY) +endif (NOT CRYPTO_FOUND) # config.h checks include(ConfigureChecks.cmake) |