Find the OpenSSL encryption library.
This module defines the following IMPORTED
targets:
OpenSSL::SSL
ssl
library, if found.OpenSSL::Crypto
crypto
library, if found.This module will set the following variables in your project:
OPENSSL_FOUND
OPENSSL_INCLUDE_DIR
OPENSSL_CRYPTO_LIBRARY
OPENSSL_SSL_LIBRARY
OPENSSL_LIBRARIES
OPENSSL_VERSION
$major.$minor.$revision$patch
(e.g. 0.9.8s
).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.
© 2000–2016 Kitware, Inc.
© 2000–2011 Insight Software Consortium
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.5/module/FindOpenSSL.html