annotate cmake/FindPolarSSL.cmake @ 147:fc9af77b06b9

Completed profile.ini parser. Debug main() allows to give an mozilla ini file as argument, and outputs extracted profile paths.
author Sascha Wilde <wilde@intevation.de>
date Mon, 24 Mar 2014 17:24:37 +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/