From: Viktor Szakats Date: Sat, 19 Jul 2025 21:46:01 +0000 (+0200) Subject: cmake: keep websockets disabled if HTTP is disabled X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f99210b49c05c913f5e7bc2545133e5f5a685c43;p=thirdparty%2Fcurl.git cmake: keep websockets disabled if HTTP is disabled Syncing with autotools, and fixing the `Protocols:` verifier test. Cherry-picked from #17988 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 7f2717f426..d2bfd2f6f8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -480,6 +480,7 @@ if(CURL_DISABLE_HTTP) set(CURL_DISABLE_RTSP ON) set(CURL_DISABLE_ALTSVC ON) set(CURL_DISABLE_HSTS ON) + set(CURL_DISABLE_WEBSOCKETS ON) endif() # Corresponds to HTTP_ONLY in lib/curl_setup.h