Specified git branch for google benchmark fetch

The default branch was renamed from "master" to "main", which breaks the cloning process.
pull/2795/head
Rafail Giavrimis 2021-06-01 13:17:53 +01:00 committed by Rafail Giavrimis
parent 6471a63115
commit b7e493e98a
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ include(FetchContent)
FetchContent_Declare(
benchmark
GIT_REPOSITORY https://github.com/google/benchmark.git
GIT_TAG origin/main
GIT_SHALLOW TRUE
)