summaryrefslogtreecommitdiff
path: root/app/libs/cmake/FindOpenSSL.cmake
blob: c9ea67996c0619b15051e66734619d9b72a61119 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
set(OPENSSL_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/libs/openssl/include)
set(OPENSSL_SSL_LIBRARY libssl)
set(OPENSSL_CRYPTO_LIBRARY libcrypto)

set(OPENSSL_LIBRARIES ${OPENSSL_SSL_LIBRARY} ${OPENSSL_CRYPTO_LIBRARY})

find_package_handle_standard_args(OpenSSL "Could NOT find OpenSSL"
    OPENSSL_LIBRARIES
    OPENSSL_INCLUDE_DIR
  )