diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-03-08 12:11:10 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-03-08 12:11:10 +0000 |
commit | f0b2c39d2fecfa989cd6c455f2736fb914db80ec (patch) | |
tree | 28d67a415a533868e8b9eb3ae428abe84aef6666 /CMakeLists.txt | |
parent | 814cde90699691d73605dc2604f431dd454852c2 (diff) | |
download | libssh-f0b2c39d2fecfa989cd6c455f2736fb914db80ec.tar.gz libssh-f0b2c39d2fecfa989cd6c455f2736fb914db80ec.tar.xz libssh-f0b2c39d2fecfa989cd6c455f2736fb914db80ec.zip |
Fix crypto/gcrypt detection and prepare for cross compilation.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@245 7dcaeef0-15fb-0310-b436-a5af3365683c
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) |