diff --git a/CMakeLists.txt b/CMakeLists.txt index d6fddbb8..f7266aa3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -767,7 +767,7 @@ endif() if(WITH_BENCHMARKS) if(NOT STATIC_BUILD_DO_NOT_USE) - find_package(benchmark) + find_package(benchmark 1.8) if(benchmark_FOUND) add_executable(dwarfs_benchmark test/dwarfs_benchmark.cpp) target_link_libraries(dwarfs_benchmark test_helpers benchmark::benchmark) diff --git a/ricepp/CMakeLists.txt b/ricepp/CMakeLists.txt index 0b3729b1..241cb9d8 100644 --- a/ricepp/CMakeLists.txt +++ b/ricepp/CMakeLists.txt @@ -146,7 +146,7 @@ endif() # target_link_libraries(ricepp_demo PRIVATE ricepp fmt) if(WITH_BENCHMARKS) - find_package(benchmark) + find_package(benchmark 1.8) if(benchmark_FOUND) add_executable(ricepp_benchmark ricepp_benchmark.cpp) target_link_libraries(ricepp_benchmark ricepp benchmark::benchmark)