SET(OPENSSL_ROOT_DIR ${OPENSSL_DYHOME}) SET(OPENSSL_INCLUDE_DIR ${OPENSSL_DYHOME}/include) # Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY) SET(OPENSSL_CRYPTO_LIBRARY ${OPENSSL_DYHOME}/android_arm64/libcrypto.so) SET(OPENSSL_SSL_LIBRARY ${OPENSSL_DYHOME}/android_arm64/libssl.so) SET(OPENSSL_LIBRARIES ${OPENSSL_DYHOME})