aboutsummaryrefslogtreecommitdiff
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2011-06-11 13:13:42 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2011-06-12 19:38:42 +0200
commitb54e8cdae5b742d98a015fd91708b308848e86e3 (patch)
tree5386f2422d3e8a3ae3b7ab9e7c76f0f23122938e /ConfigureChecks.cmake
parentfb0f1253519d5ff76fac1f0fc84077541ca93033 (diff)
downloadlibssh-b54e8cdae5b742d98a015fd91708b308848e86e3.tar.gz
libssh-b54e8cdae5b742d98a015fd91708b308848e86e3.tar.xz
libssh-b54e8cdae5b742d98a015fd91708b308848e86e3.zip
Check for ecdsa with openssl, added log_warning
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 0a555a9e..435098fa 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -68,6 +68,9 @@ check_include_file(openssl/blowfish.h HAVE_OPENSSL_BLOWFISH_H)
set(CMAKE_REQUIRED_INCLUDES ${OPENSSL_INCLUDE_DIRS})
check_include_file(openssl/des.h HAVE_OPENSSL_DES_H)
+set(CMAKE_REQUIRED_INCLUDES ${OPENSSL_INCLUDE_DIRS})
+check_include_file(openssl/ecdh.h HAVE_OPENSSL_ECDH_H)
+
if (CMAKE_HAVE_PTHREAD_H)
set(HAVE_PTHREAD_H 1)
endif (CMAKE_HAVE_PTHREAD_H)
@@ -127,6 +130,7 @@ set(LIBSSH_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} CACHE INTERNAL "libssh
# LIBRARIES
if (OPENSSL_FOUND)
set(HAVE_LIBCRYPTO 1)
+
endif (OPENSSL_FOUND)
if (GCRYPT_FOUND)