diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2011-12-28 18:20:30 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2012-02-04 18:37:04 +0100 |
commit | fa37965ab08ce66875be15f340e54f4c283075d9 (patch) | |
tree | 4e113b00707a40422a68384d32f85cef3e6d1746 /ConfigureChecks.cmake | |
parent | 3c7571e61b59ea4db332f31ebf27f462ffa3292f (diff) | |
download | libssh-fa37965ab08ce66875be15f340e54f4c283075d9.tar.gz libssh-fa37965ab08ce66875be15f340e54f4c283075d9.tar.xz libssh-fa37965ab08ce66875be15f340e54f4c283075d9.zip |
cmake: Add a define to see if we have ecc support.
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 197ae21d..80ab7599 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -85,6 +85,9 @@ if (HAVE_OPENSSL_EC_H AND HAVE_OPENSSL_ECDSA_H) set(HAVE_OPENSSL_ECC 1) endif (HAVE_OPENSSL_EC_H AND HAVE_OPENSSL_ECDSA_H) +if (HAVE_OPENSSL_ECC) + set(HAVE_ECC 1) +endif (HAVE_OPENSSL_ECC) # FUNCTIONS check_function_exists(strncpy HAVE_STRNCPY) |