1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-01 11:26:52 +03:00

cmake: Add a define to see if we have ecc support.

This commit is contained in:
Andreas Schneider
2011-12-28 18:20:30 +01:00
parent 3c7571e61b
commit fa37965ab0
2 changed files with 7 additions and 0 deletions

View File

@ -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)