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:
scawful
2025-11-01 11:27:35 -04:00
parent 3b94b121df
commit 66565a5229
2 changed files with 4 additions and 0 deletions

View File

@@ -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