diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-10-07 17:14:55 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-10-07 17:14:55 -0700 |
| commit | 46ade0691f41ac01cb5304b82cc67e99cd280a6d (patch) | |
| tree | 34045146abdd4430722bc349b13df68792b254cb | |
| parent | 06d6d80f8c92ef1d3bd7c00c919e10a411183cb3 (diff) | |
| download | nng-46ade0691f41ac01cb5304b82cc67e99cd280a6d.tar.gz nng-46ade0691f41ac01cb5304b82cc67e99cd280a6d.tar.bz2 nng-46ade0691f41ac01cb5304b82cc67e99cd280a6d.zip | |
fixes #2175 FindMbedTLS.cmake missing include
| -rw-r--r-- | cmake/FindMbedTLS.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/FindMbedTLS.cmake b/cmake/FindMbedTLS.cmake index 2d3f05e2..33cdc2df 100644 --- a/cmake/FindMbedTLS.cmake +++ b/cmake/FindMbedTLS.cmake @@ -1,5 +1,5 @@ # -# Copyright 2024 Staysail Systems, Inc. <info@staysail.tech> +# Copyright 2025 Staysail Systems, Inc. <info@staysail.tech> # Copyright 2017 Capitar IT Group BV <info@capitar.com> # # This software is supplied under the terms of the MIT License, a @@ -40,6 +40,7 @@ set(_MBED_REQUIRED_VARS MbedTLS_TARGET MbedX509_TARGET MbedCrypto_TARGET MbedTLS include(FindPackageHandleStandardArgs) include(CMakePushCheckState) +include(CheckSymbolExists) find_path(_MBEDTLS_INCLUDE_DIR NAMES mbedtls/ssl.h @@ -116,4 +117,3 @@ set(MbedCrypto_TARGET MbedTLS::mbedcrypto) find_package_handle_standard_args(MbedTLS REQUIRED_VARS ${_MBED_REQUIRED_VARS}) mark_as_advanced(${_MBED_REQUIRED_VARS}) - |
