diff options
| -rw-r--r-- | src/supplemental/tls/mbedtls/CMakeLists.txt | 6 | ||||
| -rw-r--r-- | src/supplemental/tls/wolfssl/CMakeLists.txt | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/supplemental/tls/mbedtls/CMakeLists.txt b/src/supplemental/tls/mbedtls/CMakeLists.txt index 27cf8927..acf852bd 100644 --- a/src/supplemental/tls/mbedtls/CMakeLists.txt +++ b/src/supplemental/tls/mbedtls/CMakeLists.txt @@ -1,5 +1,5 @@ # -# Copyright 2024 Staysail Systems, Inc. <info@staysail.tech> +# Copyright 2025 Staysail Systems, Inc. <info@staysail.tech> # # This software is supplied under the terms of the MIT License, a # copy of which should be located in the distribution where this @@ -32,10 +32,10 @@ if (NNG_TLS_ENGINE STREQUAL "mbed") # avoid confounding any other package consumers, and we honor overrides. if (NOT (DEFINED CMAKE_FIND_PACKAGE_PREFER_CONFIG)) set(CMAKE_FIND_PACKAGE_PREFER_CONFIG TRUE) - find_package(MbedTLS REQUIRED) + nng_find_package(MbedTLS) unset(CMAKE_FIND_PACKAGE_PREFER_CONFIG) else() - find_package(MbedTLS REQUIRED) + nng_find_package(MbedTLS) endif() nng_link_libraries_public(MbedTLS::mbedtls MbedTLS::mbedcrypto MbedTLS::mbedx509) endif() diff --git a/src/supplemental/tls/wolfssl/CMakeLists.txt b/src/supplemental/tls/wolfssl/CMakeLists.txt index 897fe929..7b129d9c 100644 --- a/src/supplemental/tls/wolfssl/CMakeLists.txt +++ b/src/supplemental/tls/wolfssl/CMakeLists.txt @@ -1,5 +1,5 @@ # -# Copyright 2024 Staysail Systems, Inc. <info@staysail.tech> +# Copyright 2025 Staysail Systems, Inc. <info@staysail.tech> # # This software is supplied under the terms of the MIT License, a # copy of which should be located in the distribution where this @@ -24,10 +24,10 @@ if (NNG_TLS_ENGINE STREQUAL "wolf") # We want to prefer config mode over our local find package. if (NOT (DEFINED CMAKE_FIND_PACKAGE_PREFER_CONFIG)) set(CMAKE_FIND_PACKAGE_PREFER_CONFIG TRUE) - find_package(wolfSSL REQUIRED) + nng_find_package(wolfSSL) unset(CMAKE_FIND_PACKAGE_PREFER_CONFIG) else() - find_package(wolfSSL REQUIRED) + nng_find_package(wolfSSL) endif() nng_link_libraries_public(wolfssl::wolfssl) endif() |
