FindOpenSSL — CMake 3.3.2 Documentation

### Navigation

- index
- next |
- previous |
- CMake »
- 3.3.2 Documentation »
- cmake-modules(7) »

# FindOpenSSL

Try to find the OpenSSL encryption library

Once done this will define

    OPENSSL_ROOT_DIR - Set this variable to the root installation of OpenSSL

Read-Only variables:

    OPENSSL_FOUND - System has the OpenSSL library
    OPENSSL_INCLUDE_DIR - The OpenSSL include directory
    OPENSSL_CRYPTO_LIBRARY - The OpenSSL crypto library
    OPENSSL_SSL_LIBRARY - The OpenSSL SSL library
    OPENSSL_LIBRARIES - All OpenSSL libraries
    OPENSSL_VERSION - This is set to $major.$minor.$revision$patch (eg. 0.9.8s)

### Navigation

- index
- next |
- previous |
- CMake »
- 3.3.2 Documentation »
- cmake-modules(7) »