view cmake/FindPolarSSL.cmake @ 177:c92297bcda8f

dirent d_type is not supported on Windows, so use new port_isdir(). FWIW, according to the man page d_type isn't guarantied to work for all file systems on linux neither.
author Sascha Wilde <wilde@intevation.de>
date Tue, 25 Mar 2014 16:48:18 +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/