]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cmake: fix test 1013 with websockets enabled and no TLS
authorViktor Szakats <commit@vsz.me>
Fri, 24 May 2024 18:51:23 +0000 (20:51 +0200)
committerViktor Szakats <commit@vsz.me>
Fri, 24 May 2024 20:13:18 +0000 (22:13 +0200)
test 1013 is 'Compare curl --version with curl-config --protocols'.

Ref: https://github.com/curl/curl/actions/runs/9228363859/job/25392251955

Closes #13769

CMakeLists.txt

index 65b805c33c150239a17a4b7ed87fe158bedcefd6..617c7516a0e5ed2f8a7779ca487b0ba14559f359 100644 (file)
@@ -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()