annotate cmake/FindPolarSSL.cmake @ 288:c4a989a0d6cf
Ensure that the utf8 string is always 0 terminated.
author |
Andre Heinecke <aheinecke@intevation.de> |
date |
Wed, 02 Apr 2014 13:49:04 +0000 |
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 ) |