chore: update gRPC dependency configuration in CMake
- Incremented cache revision in dependencies.lock to trigger CPM cache invalidation. - Modified gRPC package configuration to disable submodule recursion and enable shallow cloning for improved fetch efficiency. Benefits: - Ensures up-to-date dependency management and optimizes the build process.
This commit is contained in:
@@ -58,11 +58,14 @@ set(utf8_range_BUILD_TESTS OFF CACHE BOOL "" FORCE)
|
||||
set(utf8_range_INSTALL OFF CACHE BOOL "" FORCE)
|
||||
|
||||
# Use CPM to fetch gRPC with bundled dependencies
|
||||
# GIT_SUBMODULES "" disables submodule recursion since gRPC handles its own deps via CMake
|
||||
CPMAddPackage(
|
||||
NAME grpc
|
||||
VERSION ${GRPC_VERSION}
|
||||
GITHUB_REPOSITORY grpc/grpc
|
||||
GIT_TAG v${GRPC_VERSION}
|
||||
GIT_SUBMODULES ""
|
||||
GIT_SHALLOW TRUE
|
||||
)
|
||||
|
||||
# Check which target naming convention is used
|
||||
|
||||
Reference in New Issue
Block a user