Skip to content

Commit

Permalink
BENCHMARK_ENABLE_TESTING off
Browse files Browse the repository at this point in the history
  • Loading branch information
mengdilin committed Sep 20, 2024
1 parent 40f06f8 commit 8a27524
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions perf_tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,15 @@

# @lint-ignore-every LINEWRAP
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

set(BENCHMARK_ENABLE_TESTING OFF)
FetchContent_MakeAvailable(
googlebenchmark)

set(BENCHMARK_ENABLE_TESTING OFF)

find_package(Threads REQUIRED)
find_package(OpenMP REQUIRED)
Expand Down

0 comments on commit 8a27524

Please sign in to comment.