annotate cmake/FindPolarSSL.cmake @ 133:c719d3fdbc15

Added functrion to trim white space from string.
author Sascha Wilde <wilde@intevation.de>
date Mon, 24 Mar 2014 15:11:47 +0100
parents 81183b721b51
children a974b61a5cce
rev   line source
36
81183b721b51 Add findPolarssl
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
1 # - Try to find PolarSSL
81183b721b51 Add findPolarssl
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
2
81183b721b51 Add findPolarssl
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
3 # Find the include directories
81183b721b51 Add findPolarssl
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
4 find_path(POLARSSL_INCLUDE_DIR NAMES polarssl/ssl.h)
81183b721b51 Add findPolarssl
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
5
81183b721b51 Add findPolarssl
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
6 find_library(POLARSSL_LIBRARIES NAMES polarssl)
81183b721b51 Add findPolarssl
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
7
81183b721b51 Add findPolarssl
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
8 include(FindPackageHandleStandardArgs)
81183b721b51 Add findPolarssl
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
9
81183b721b51 Add findPolarssl
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
10 find_package_handle_standard_args(POLARSSL
81183b721b51 Add findPolarssl
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
11 REQUIRED_VARS POLARSSL_INCLUDE_DIR POLARSSL_LIBRARIES
81183b721b51 Add findPolarssl
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
12 )

http://wald.intevation.org/projects/trustbridge/