2 # Try to find libcrypto.
5 # Try to find the header
6 find_path(CRYPTO_INCLUDE_DIR openssl/crypto.h)
8 # Try to find the library
9 find_library(CRYPTO_LIBRARY crypto)
11 include(FindPackageHandleStandardArgs)
12 find_package_handle_standard_args(CRYPTO
23 set(CRYPTO_INCLUDE_DIRS ${CRYPTO_INCLUDE_DIR})
24 set(CRYPTO_LIBRARIES ${CRYPTO_LIBRARY})