mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:11:45 +03:00
cmake: keep websockets disabled if HTTP is disabled
Syncing with autotools, and fixing the `Protocols:` verifier test. Cherry-picked from #17988
This commit is contained in:
parent
548d8a8421
commit
f99210b49c
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue