Mercurial > trustbridge
changeset 36:81183b721b51
Add findPolarssl
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Fri, 14 Mar 2014 08:59:06 +0100 |
parents | 56ba6376426e |
children | 00aa5fa3c2fb |
files | cmake/FindPolarSSL.cmake |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cmake/FindPolarSSL.cmake Fri Mar 14 08:59:06 2014 +0100 @@ -0,0 +1,12 @@ +# - Try to find PolarSSL + +# Find the include directories +find_path(POLARSSL_INCLUDE_DIR NAMES polarssl/ssl.h) + +find_library(POLARSSL_LIBRARIES NAMES polarssl) + +include(FindPackageHandleStandardArgs) + +find_package_handle_standard_args(POLARSSL + REQUIRED_VARS POLARSSL_INCLUDE_DIR POLARSSL_LIBRARIES +)