--- perf_tests/CMakeLists.txt.orig	2025-04-26 22:25:16 UTC
+++ perf_tests/CMakeLists.txt
@@ -7,13 +7,7 @@ set(BENCHMARK_ENABLE_TESTING OFF)
 project(faiss_perf_tests)
 set(BENCHMARK_ENABLE_TESTING OFF)
 
-include(FetchContent)
-FetchContent_Declare(googlebenchmark
-        GIT_REPOSITORY https://github.com/google/benchmark.git
-        GIT_TAG main) # need main for benchmark::benchmark
-FetchContent_MakeAvailable(
-  googlebenchmark)
-
+find_package(benchmark)
 
 find_package(Threads REQUIRED)
 find_package(OpenMP REQUIRED)
