From: Viktor Szakats Date: Fri, 24 May 2024 18:51:23 +0000 (+0200) Subject: cmake: fix test 1013 with websockets enabled and no TLS X-Git-Tag: curl-8_9_0~400 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0550ec2bd40e649a6b4b63b62db9956589cade7d;p=thirdparty%2Fcurl.git cmake: fix test 1013 with websockets enabled and no TLS test 1013 is 'Compare curl --version with curl-config --protocols'. Ref: https://github.com/curl/curl/actions/runs/9228363859/job/25392251955 Closes #13769 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 65b805c33c..617c7516a0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1685,7 +1685,7 @@ if(NOT CURL_DISABLE_INSTALL) _add_if("RTMP" USE_LIBRTMP) _add_if("MQTT" NOT CURL_DISABLE_MQTT) _add_if("WS" USE_WEBSOCKETS) - _add_if("WSS" USE_WEBSOCKETS) + _add_if("WSS" USE_WEBSOCKETS AND SSL_ENABLED) if(_items) list(SORT _items) endif()