kou commented on issue #44448:
URL: https://github.com/apache/arrow/issues/44448#issuecomment-2430599550
Ah, wait.
It seems that `gRPC` CMake package includes `gRPCPluginTargets.cmake`
automatically EXCEPT `CROSS_COMPILING`:
```console
$ cat libgrpc-1.67.0-h0fbbd33_0/lib/cmake/grpc/gRPCConfig.cmake
# Module path
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/modules)
# Depend packages
if(NOT ZLIB_FOUND)
find_package(ZLIB)
endif()
include(CMakeFindDependencyMacro)
find_dependency(Protobuf CONFIG)
if(NOT OPENSSL_FOUND)
find_package(OpenSSL)
endif()
if(NOT c-ares_FOUND)
find_package(c-ares)
endif()
if(NOT TARGET absl::strings)
find_package(absl CONFIG)
endif()
if(NOT re2_FOUND)
find_package(re2)
endif()
# Targets
include(${CMAKE_CURRENT_LIST_DIR}/gRPCTargets.cmake)
if(NOT CMAKE_CROSSCOMPILING)
include(${CMAKE_CURRENT_LIST_DIR}/gRPCPluginTargets.cmake)
endif()
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]