1find_path(MBEDTLS_INCLUDE_DIRS mbedtls/ssl.h) 2 3find_library(MBEDTLS_LIBRARY mbedtls) 4find_library(MBEDX509_LIBRARY mbedx509) 5find_library(MBEDCRYPTO_LIBRARY mbedcrypto) 6 7set(MBEDTLS_LIBRARIES "${MBEDTLS_LIBRARY}" "${MBEDX509_LIBRARY}" "${MBEDCRYPTO_LIBRARY}") 8 9include(FindPackageHandleStandardArgs) 10find_package_handle_standard_args(MBEDTLS DEFAULT_MSG 11 MBEDTLS_INCLUDE_DIRS MBEDTLS_LIBRARY MBEDX509_LIBRARY MBEDCRYPTO_LIBRARY) 12 13mark_as_advanced(MBEDTLS_INCLUDE_DIRS MBEDTLS_LIBRARY MBEDX509_LIBRARY MBEDCRYPTO_LIBRARY) 14