[bench] Update Google benchmark to version 1.8.4 (#3579)

Fix CMake warning from more recent versions.
Latest benchmark release support C++11.
Does not increase CMake requirements.
This commit is contained in:
Christoph Grüninger
2026-04-07 16:26:55 +02:00
committed by GitHub
parent 3c61b051d2
commit fb1227486b

View File

@@ -19,7 +19,7 @@ if(NOT benchmark_FOUND)
# disable tests
set(BENCHMARK_ENABLE_TESTING OFF CACHE INTERNAL "")
# Do not build and run googlebenchmark tests
FetchContent_Declare(googlebenchmark GIT_REPOSITORY https://github.com/google/benchmark.git GIT_TAG v1.6.0)
FetchContent_Declare(googlebenchmark GIT_REPOSITORY https://github.com/google/benchmark.git GIT_TAG v1.8.4)
FetchContent_MakeAvailable(googlebenchmark)
endif()