]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cmake: websockets tidy-ups
authorViktor Szakats <commit@vsz.me>
Fri, 27 Sep 2024 16:16:57 +0000 (18:16 +0200)
committerViktor Szakats <commit@vsz.me>
Sun, 29 Sep 2024 15:39:55 +0000 (17:39 +0200)
- 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

CMakeLists.txt

index e9f2e77d02383d0f00a6822d1685f8fcba506abc..5c291e27b48372244987c0f6a234ce97ef9a8256 100644 (file)
@@ -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