summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-05-07 15:11:04 +0000
committerAndreas Schneider <mail@cynapses.org>2009-05-07 15:11:04 +0000
commitf29e119c2556db33a337b6317464eb06fe4a9763 (patch)
tree4a8fd98ff1c28cc726b58dc4c1722cba8d7d5d48 /ConfigureChecks.cmake
parent126dcd51e5d8d418852ab6c74b238a06a45b0bf9 (diff)
downloadlibssh-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 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 1d4761ae..0b1629ef 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -37,9 +37,9 @@ else (WIN32)
endif (WIN32)
# LIBRARIES
-if (CRYPTO_LIBRARY)
+if (CRYPTO_FOUND)
set(HAVE_LIBCRYPTO 1)
-endif (CRYPTO_LIBRARY)
+endif (CRYPTO_FOUND)
if (GCRYPT_FOUND)
set(HAVE_LIBGCRYPT 1)