summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-09-20 17:08:10 (GMT)
committerBrad King <brad.king@kitware.com>2023-09-20 17:08:10 (GMT)
commit21b668afc2ff716727e6432338378d1f001df238 (patch)
treea64478487d895f4fc477754aa16cfcc769f64d59 /Utilities
parent092353eb86d93b3b3a5b6a9c3b0dc7a504891b39 (diff)
downloadCMake-21b668afc2ff716727e6432338378d1f001df238.zip
CMake-21b668afc2ff716727e6432338378d1f001df238.tar.gz
CMake-21b668afc2ff716727e6432338378d1f001df238.tar.bz2
Utilities: Drop unused hard-coded try_compile result
The `HAVE_WINSOCK_H` check was removed by curl 7.81.
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/cmThirdPartyChecks.cmake1
-rw-r--r--Utilities/cmcurl/CMakeLists.txt1
2 files changed, 0 insertions, 2 deletions
diff --git a/Utilities/cmThirdPartyChecks.cmake b/Utilities/cmThirdPartyChecks.cmake
index 5605667..4e3fd5c 100644
--- a/Utilities/cmThirdPartyChecks.cmake
+++ b/Utilities/cmThirdPartyChecks.cmake
@@ -265,7 +265,6 @@ if(WIN32)
set(HAVE_WINDOWS_H 1)
set(HAVE_WINIOCTL_H 1)
set(HAVE_WINSOCK2_H 1)
- set(HAVE_WINSOCK_H 1)
set(HAVE_WS2TCPIP_H 1)
set(USE_WINCRYPT 1) # We do not need to build as a Windows App.
diff --git a/Utilities/cmcurl/CMakeLists.txt b/Utilities/cmcurl/CMakeLists.txt
index d8f655b..d4af8c8 100644
--- a/Utilities/cmcurl/CMakeLists.txt
+++ b/Utilities/cmcurl/CMakeLists.txt
@@ -1146,7 +1146,6 @@ if(NOT UNIX)
check_include_file_concat("wincrypt.h" HAVE_WINCRYPT_H)
else()
set(HAVE_WINDOWS_H 0)
- set(HAVE_WINSOCK_H 0)
set(HAVE_WS2TCPIP_H 0)
set(HAVE_WINSOCK2_H 0)
endif()