Commit b9d39e29 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Add check for DTLS in FindPolarSSL.cmake.

parent abfb0328
...@@ -63,13 +63,14 @@ x509parse_crtpath(0,0); ...@@ -63,13 +63,14 @@ x509parse_crtpath(0,0);
return 0; return 0;
}" }"
X509PARSE_CRTPATH_OK) X509PARSE_CRTPATH_OK)
check_symbol_exists(ssl_get_dtls_srtp_protection_profile "polarssl/ssl.h" HAVE_SSL_GET_DTLS_SRTP_PROTECTION_PROFILE)
cmake_pop_check_state() cmake_pop_check_state()
endif() endif()
include(FindPackageHandleStandardArgs) include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(PolarSSL find_package_handle_standard_args(PolarSSL
DEFAULT_MSG DEFAULT_MSG
POLARSSL_INCLUDE_DIRS POLARSSL_LIBRARIES POLARSSL_INCLUDE_DIRS POLARSSL_LIBRARIES HAVE_POLARSSL_SSL_H
) )
mark_as_advanced(POLARSSL_INCLUDE_DIRS POLARSSL_LIBRARIES) mark_as_advanced(POLARSSL_INCLUDE_DIRS POLARSSL_LIBRARIES HAVE_POLARSSL_SSL_H X509PARSE_CRTPATH_OK HAVE_SSL_GET_DTLS_SRTP_PROTECTION_PROFILE)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment