From afce1ecc4e22e2b74052ca50ad69ce92c4deb947 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 30 Jul 2026 00:10:30 +0200 Subject: [PATCH] cm disable if not supported, show warn --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1cf5d8dce4..ec6d1dc367 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1106,6 +1106,11 @@ if(USE_ECH) endif() endif() +if(NOT CURL_DISABLE_HTTPSIG AND (NOT USE_OPENSSL AND NOT USE_WOLFSSL)) + message(WARNING "HTTPSIG requires OpenSSL or wolfSSL. HTTPSIG support disabled.") + set(CURL_DISABLE_HTTPSIG ON) +endif() + option(USE_SSLS_EXPORT "Enable SSL session import/export (experimental)" OFF) if(USE_SSLS_EXPORT) if(_ssl_enabled)