FindOpenSSL¶
Find the OpenSSL encryption library.
Optional COMPONENTS¶
This module supports two optional COMPONENTS: Crypto and SSL. Both
components have associated imported targets, as described below.
Imported Targets¶
This module defines the following IMPORTED targets:
OpenSSL::SSLThe OpenSSL
ssllibrary, if found.OpenSSL::CryptoThe OpenSSL
cryptolibrary, if found.
Result Variables¶
This module will set the following variables in your project:
OPENSSL_FOUNDSystem has the OpenSSL library. If no components are requested it only requires the crypto library.
OPENSSL_INCLUDE_DIRThe OpenSSL include directory.
OPENSSL_CRYPTO_LIBRARYThe OpenSSL crypto library.
OPENSSL_CRYPTO_LIBRARIESThe OpenSSL crypto library and its dependencies.
OPENSSL_SSL_LIBRARYThe OpenSSL SSL library.
OPENSSL_SSL_LIBRARIESThe OpenSSL SSL library and its dependencies.
OPENSSL_LIBRARIESAll OpenSSL libraries and their dependencies.
OPENSSL_VERSIONThis is set to
$major.$minor.$revision$patch(e.g.0.9.8s).
Hints¶
Set OPENSSL_ROOT_DIR to the root directory of an OpenSSL installation.
Set OPENSSL_USE_STATIC_LIBS to TRUE to look for static libraries.
Set OPENSSL_MSVC_STATIC_RT set TRUE to choose the MT version of the lib.