annotate cmake/FindPolarSSL.cmake @ 782:20ca94680003
Implemented detection of running instance on linux using a lock file.
author |
Sascha Wilde <wilde@intevation.de> |
date |
Mon, 14 Jul 2014 12:46:47 +0200 |
parents |
81183b721b51 |
children |
a974b61a5cce |
rev |
line source |
36
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
1 # - Try to find PolarSSL |
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
2 |
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
3 # Find the include directories |
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
4 find_path(POLARSSL_INCLUDE_DIR NAMES polarssl/ssl.h) |
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
5 |
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
6 find_library(POLARSSL_LIBRARIES NAMES polarssl) |
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
7 |
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
8 include(FindPackageHandleStandardArgs) |
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
9 |
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
10 find_package_handle_standard_args(POLARSSL |
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
11 REQUIRED_VARS POLARSSL_INCLUDE_DIR POLARSSL_LIBRARIES |
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
12 ) |