annotate cmake/FindPolarSSL.cmake @ 975:b3695a3399de

(issue86) Install into default directories on Linux If the mozilla process is now started as root it will try to write into the default directories for NSS Shared and mozilla / thunderbird profiles. Cinst will now start the mozilla process once as root.
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 29 Aug 2014 12:59:44 +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/