aboutsummaryrefslogtreecommitdiff
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-05-07 15:07:54 +0000
committerAndreas Schneider <mail@cynapses.org>2009-05-07 15:07:54 +0000
commit126dcd51e5d8d418852ab6c74b238a06a45b0bf9 (patch)
tree37c09d083622af03647b082c02560e6281ddc5a8 /ConfigureChecks.cmake
parent249e11bd2e3946e1873cc02af03ec4e18ede71a2 (diff)
downloadlibssh-126dcd51e5d8d418852ab6c74b238a06a45b0bf9.tar.gz
libssh-126dcd51e5d8d418852ab6c74b238a06a45b0bf9.tar.xz
libssh-126dcd51e5d8d418852ab6c74b238a06a45b0bf9.zip
Improve GCrypt cmake checks.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@751 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index e5fe55d..1d4761a 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -41,9 +41,9 @@ if (CRYPTO_LIBRARY)
set(HAVE_LIBCRYPTO 1)
endif (CRYPTO_LIBRARY)
-if (GCRYPT_LIBRARY)
+if (GCRYPT_FOUND)
set(HAVE_LIBGCRYPT 1)
-endif (GCRYPT_LIBRARY)
+endif (GCRYPT_FOUND)
if (Z_LIBRARY)
set(HAVE_LIBZ 1)