view cmake/FindPolarSSL.cmake @ 61:b8cd573bd3ac

Fix check for malloc result, found by cppcheck.
author Bernhard Reiter <bernhard@intevation.de>
date Tue, 18 Mar 2014 14:05:17 +0100
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/