annotate cmake/FindPolarSSL.cmake @ 115:5ed770c41a73
Change garbage input to invalid input. Fix InvalidInstructions test.
InvalidInstructions test now fails as instruction validation is not yet implemented
author |
Andre Heinecke <aheinecke@intevation.de> |
date |
Fri, 21 Mar 2014 16:33:18 +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 ) |