grpc: fix cmake files

This commit is contained in:
classabbyamp 2024-08-06 17:47:22 -04:00 committed by classabbyamp
parent 27308f9f32
commit dde16d2075
2 changed files with 9 additions and 1 deletions

View File

@ -13,3 +13,11 @@ all packages are updated to the new system
if(Protobuf_FOUND OR PROTOBUF_FOUND) if(Protobuf_FOUND OR PROTOBUF_FOUND)
if(TARGET protobuf::${_gRPC_PROTOBUF_LIBRARY_NAME}) if(TARGET protobuf::${_gRPC_PROTOBUF_LIBRARY_NAME})
@@ -86,6 +86,6 @@
set(_gRPC_PROTOBUF_PROTOC_EXECUTABLE ${PROTOBUF_PROTOC_EXECUTABLE})
endif()
endif()
- set(_gRPC_FIND_PROTOBUF "include(CMakeFindDependencyMacro)\nfind_dependency(Protobuf CONFIG)")
+ set(_gRPC_FIND_PROTOBUF "include(CMakeFindDependencyMacro)\nfind_dependency(Protobuf)")
endif()
endif()

View File

@ -1,7 +1,7 @@
# Template file for 'grpc' # Template file for 'grpc'
pkgname=grpc pkgname=grpc
version=1.61.1 version=1.61.1
revision=2 revision=3
build_style=cmake build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON configure_args="-DBUILD_SHARED_LIBS=ON
-DgRPC_CARES_PROVIDER=package -DgRPC_PROTOBUF_PROVIDER=package -DgRPC_CARES_PROVIDER=package -DgRPC_PROTOBUF_PROVIDER=package