vcpkg/ports/grpc/00004-link-gdi32-on-windows.patch

14 lines
352 B
Diff
Raw Normal View History

diff --git a/CMakeLists.txt b/CMakeLists.txt
2020-10-28 11:33:33 +08:00
index e09f8fcc1e..ec1714687e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -278,7 +278,7 @@ elseif(UNIX)
endif()
2020-08-22 16:16:03 +08:00
if(WIN32)
- set(_gRPC_BASELIB_LIBRARIES wsock32 ws2_32 crypt32)
+ set(_gRPC_BASELIB_LIBRARIES wsock32 ws2_32 crypt32 gdi32)
endif()
# Create directory for generated .proto files