annotate cmake/FindPolarSSL.cmake @ 75:ec0f4efefb7b

Add profiling options for all C/CXX code if requested
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 19 Mar 2014 15:36:35 +0000
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/