mirror of
https://github.com/gabime/spdlog.git
synced 2026-04-10 11:34:29 +08:00
[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:
committed by
GitHub
parent
3c61b051d2
commit
fb1227486b
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user