Skip to content

Commit a59bf9a

Browse files
committed
Shallow clone protobuf in test for performance
1 parent 331448c commit a59bf9a

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎docs/examples/protobuf.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ description = "Demonstrates protobuf integration with cmkr custom commands"
3737
[fetch-content.protobuf]
3838
git = "https://github.com/protocolbuffers/protobuf"
3939
tag = "v21.12"
40+
shallow = true
4041
options = {
4142
protobuf_BUILD_TESTS = false,
4243
protobuf_BUILD_EXAMPLES = false,

‎tests/protobuf/cmake.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ description = "Demonstrates protobuf integration with cmkr custom commands"
2424
[fetch-content.protobuf]
2525
git = "https://github.com/protocolbuffers/protobuf"
2626
tag = "v21.12"
27+
shallow = true
2728
options = {
2829
protobuf_BUILD_TESTS = false,
2930
protobuf_BUILD_EXAMPLES = false,

0 commit comments

Comments
 (0)