diff options
| author | xyb <xyb@xyb.name> | 2020-10-27 00:50:56 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-27 00:50:56 -0700 |
| commit | 45149130088dc1ff5a3476e714b814f37933b63d (patch) | |
| tree | babf6ab996c4d109fc2a0807a58872f9dbd9393f | |
| parent | 134fe60dd2592165546241bec5c17931134e105d (diff) | |
| download | vcpkg-45149130088dc1ff5a3476e714b814f37933b63d.tar.gz vcpkg-45149130088dc1ff5a3476e714b814f37933b63d.zip | |
[grpc] [arm-linux] Missing grpc plugins. (#14184)
| -rw-r--r-- | ports/grpc/CONTROL | 3 | ||||
| -rw-r--r-- | ports/grpc/portfile.cmake | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/ports/grpc/CONTROL b/ports/grpc/CONTROL index 1f1fb1b21..82e2da843 100644 --- a/ports/grpc/CONTROL +++ b/ports/grpc/CONTROL @@ -1,8 +1,9 @@ Source: grpc Version: 1.32.0 +Port-Version: 1 Build-Depends: zlib, openssl, protobuf, c-ares (!uwp), upb, abseil, re2 Homepage: https://github.com/grpc/grpc Description: An RPC library and framework Feature: absl-sync -Description: Use abseil synchronization module
\ No newline at end of file +Description: Use abseil synchronization module diff --git a/ports/grpc/portfile.cmake b/ports/grpc/portfile.cmake index 2c122f79e..f87a07812 100644 --- a/ports/grpc/portfile.cmake +++ b/ports/grpc/portfile.cmake @@ -20,7 +20,7 @@ vcpkg_from_github( snprintf.patch ) -if(VCPKG_TARGET_IS_UWP OR VCPKG_TARGET_ARCHITECTURE STREQUAL "arm" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64") +if((NOT VCPKG_TARGET_IS_LINUX) AND (VCPKG_TARGET_IS_UWP OR VCPKG_TARGET_ARCHITECTURE STREQUAL "arm" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64")) set(gRPC_BUILD_CODEGEN OFF) else() set(gRPC_BUILD_CODEGEN ON) @@ -89,4 +89,4 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) vcpkg_copy_pdbs() -file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
\ No newline at end of file +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) |
