Mercurial > trustbridge
diff cmake/FindPolarSSL.cmake @ 36:81183b721b51
Add findPolarssl
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Fri, 14 Mar 2014 08:59:06 +0100 |
parents | |
children | a974b61a5cce |
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 +)