Don't link with obsolete WinSock 1.x (#27053)

pull/27610/head
Pablo Busse 3 years ago committed by GitHub
parent f0a0628795
commit 05e5b085a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      CMakeLists.txt
  2. 2
      templates/CMakeLists.txt.template

2
CMakeLists.txt generated

@ -274,7 +274,7 @@ elseif(UNIX)
endif()
if(WIN32)
set(_gRPC_BASELIB_LIBRARIES wsock32 ws2_32 crypt32)
set(_gRPC_BASELIB_LIBRARIES ws2_32 crypt32)
endif()
# Create directory for generated .proto files

@ -344,7 +344,7 @@
endif()
if(WIN32)
set(_gRPC_BASELIB_LIBRARIES wsock32 ws2_32 crypt32)
set(_gRPC_BASELIB_LIBRARIES ws2_32 crypt32)
endif()
# Create directory for generated .proto files

Loading…
Cancel
Save