--- CMakeLists.txt.orig 2025-09-23 16:25:43.000000000 +0800 +++ CMakeLists.txt 2025-10-09 10:10:00.000000000 +0800 @@ -42,7 +42,8 @@ option(ENABLE_DEBUG_LOGS "Turn on or off debug level logs." NO) option(ENABLE_PACKAGE_SOURCE "Create 'package_source' target for source archive making" OFF) set(WITH_THREAD_STACK_SIZE "0" CACHE STRING "Set thread stack size (0 is the OS default).") - +# This is a transitive dependency from bctoolbox, but CMake cannot find it otherwise. +option(ENABLE_OPENSSL "Use OpenSSL." NO) list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake") @@ -108,6 +109,10 @@ ) +if(ENABLE_OPENSSL) + find_package(OpenSSL REQUIRED) +endif() + set(ORTP_CPPFLAGS) if(ENABLE_PERF) set(PERF 1)