diff --git a/CMakeLists.txt b/CMakeLists.txt index 019926901..9db9ed29b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -945,6 +945,7 @@ endif() if(OPENSSL_FOUND) add_definitions("-DWITH_OPENSSL") message(STATUS "Using OpenSSL Version: ${OPENSSL_VERSION}") + list(APPEND OPENSSL_LIBRARIES Threads::Threads) endif() if(MBEDTLS_FOUND)