annotate cmake/FindPolarSSL.cmake @ 923:68db3a46ae36
Do not error out when curl is not used.
This was only for testing the build system checks
author |
Andre Heinecke <andre.heinecke@intevation.de> |
date |
Thu, 21 Aug 2014 15:00:49 +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 ) |