annotate cmake/FindPolarSSL.cmake @ 987:b8ae69bcc540

Use pkexec instead of gksudo. Gksudo was deprecated and replaced by pkexec
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 29 Aug 2014 17:56:06 +0200
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/