annotate cmake/FindPolarSSL.cmake @ 178:b0579d4fa186
Made macro MAX_FILESIZE saver with brackets. A perror debugging line.
author |
Bernhard Reiter <bernhard@intevation.de> |
date |
Tue, 25 Mar 2014 17:21:40 +0100 |
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 ) |