From: Viktor Szakats Date: Fri, 27 Sep 2024 16:16:57 +0000 (+0200) Subject: cmake: websockets tidy-ups X-Git-Tag: curl-8_11_0~299 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a8719d2e18c490d918dd4740874892b435c4e15;p=thirdparty%2Fcurl.git cmake: websockets tidy-ups - restore change lost after websockets-default update. Ref: 6a1dcdc5d2f1b450de4d10739660b32d081c51a1 #14998 - delete unused line after websockets is on by default. Follow-up to d78e129d50b2d190f1c1bde2ad1f62f02f152db0 #14936 Closes #15078 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index e9f2e77d02..5c291e27b4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1608,14 +1608,8 @@ endif() unset(CMAKE_REQUIRED_FLAGS) -option(ENABLE_WEBSOCKETS "Enable WebSockets (experimental)" OFF) - -foreach(_curl_test IN ITEMS - HAVE_GLIBC_STRERROR_R - HAVE_POSIX_STRERROR_R - ) - curl_internal_test(${_curl_test}) -endforeach() +curl_internal_test(HAVE_GLIBC_STRERROR_R) +curl_internal_test(HAVE_POSIX_STRERROR_R) # Check for reentrant foreach(_curl_test IN ITEMS