vcpkg/ports/grpc/00004-link-gdi32-on-windows.patch
Darrin W. Cullop 2fda34be1f [grpc] #6485 - Fix ARM/ARM64 on Windows Build (#6487)
This PR includes the following changes that are required to get gRPC to build for ARM/ARM64 on Windows
1) Updated to v1.20.1
2) Disables Codegen Build for ARM/ARM64 builds
3) Rebased the "Fix UWP" patch so that it will apply properly
4) Fixed the "Static Linking in Linux" patch because it specified an invalid option on Windows builds
5) Added patch to "#undef" a macro name collision
6) Added GDI32.lib to the list of standard libraries linked to Windows
2019-05-17 11:18:26 -07:00

14 lines
345 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index e820737201..3eb4795660 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -158,7 +158,7 @@ elseif(UNIX)
endif()
if(WIN32 AND MSVC)
- set(_gRPC_BASELIB_LIBRARIES wsock32 ws2_32)
+ set(_gRPC_BASELIB_LIBRARIES wsock32 ws2_32 gdi32)
endif()
# Create directory for generated .proto files