view cmake/FindPolarSSL.cmake @ 185:ee37c085b9f7

Try to handle crypt32 errors. Print the error code as fallback
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 25 Mar 2014 18:03:49 +0000
parents 81183b721b51
children a974b61a5cce
line wrap: on
line source
# - Try to find PolarSSL

# Find the include directories
find_path(POLARSSL_INCLUDE_DIR NAMES polarssl/ssl.h)

find_library(POLARSSL_LIBRARIES NAMES polarssl)

include(FindPackageHandleStandardArgs)

find_package_handle_standard_args(POLARSSL
    REQUIRED_VARS POLARSSL_INCLUDE_DIR POLARSSL_LIBRARIES
)

http://wald.intevation.org/projects/trustbridge/