diff --git a/CMakeLists.txt b/CMakeLists.txt index d3f4d9ae..c191c3e1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -306,6 +306,10 @@ endif() if (NNG_ENABLE_SCRAM) add_definitions(-DSUPP_SCRAM) find_package(OpenSSL) + if (OPENSSL_FOUND) + else () + message(STATUS "OpenSSL Not found") + endif() target_link_libraries(nng PRIVATE OpenSSL::SSL OpenSSL::Crypto) endif () diff --git a/src/supplemental/tls/CMakeLists.txt b/src/supplemental/tls/CMakeLists.txt index 17d957ff..0d695b9c 100644 --- a/src/supplemental/tls/CMakeLists.txt +++ b/src/supplemental/tls/CMakeLists.txt @@ -30,6 +30,7 @@ endif () add_subdirectory(mbedtls) add_subdirectory(wolfssl) +add_subdirectory(openssl) nng_sources(tls_common.c) nng_sources(tls_api.h)