Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1:Update
grpc
grpc-build.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File grpc-build.diff of Package grpc
From: Jan Engelhardt <jengelh@inai.de> Date: 2017-12-12 00:32:39.501708666 +0100 openSUSE's c-ares has no c-aresConfig.cmake or c-ares-config.cmake. Work around it. --- cmake/cares.cmake | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) Index: grpc-1.10.0/cmake/cares.cmake =================================================================== --- grpc-1.10.0.orig/cmake/cares.cmake +++ grpc-1.10.0/cmake/cares.cmake @@ -31,10 +31,5 @@ if("${gRPC_CARES_PROVIDER}" STREQUAL "mo endif() elseif("${gRPC_CARES_PROVIDER}" STREQUAL "package") # Use "CONFIG" as there is no built-in cmake module for c-ares. - find_package(c-ares REQUIRED CONFIG) - if(TARGET c-ares::cares) - set(_gRPC_CARES_LIBRARIES c-ares::cares) - set(_gRPC_CARES_INCLUDE_DIR ${c-ares_INCLUDE_DIR}) - endif() - set(_gRPC_FIND_CARES "if(NOT c-ares_FOUND)\n find_package(c-ares CONFIG)\nendif()") + set(_gRPC_CARES_LIBRARIES -lcares) endif()
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor