Try disabling benchmark's gtest integration

PiperOrigin-RevId: 689010657
This commit is contained in:
Paul Chang 2024-10-23 10:11:56 -07:00 committed by Copybara-Service
parent 4197d69dfc
commit 4976066095
1 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,9 @@ FetchContent_MakeAvailable(sentencepiece)
FetchContent_Declare(json GIT_REPOSITORY https://github.com/nlohmann/json.git GIT_TAG 9cca280a4d0ccf0c08f47a99aa71d1b0e52f8d03 EXCLUDE_FROM_ALL)
FetchContent_MakeAvailable(json)
set(BENCHMARK_ENABLE_TESTING OFF)
set(BENCHMARK_ENABLE_GTEST_TESTS OFF)
FetchContent_Declare(benchmark GIT_REPOSITORY https://github.com/google/benchmark.git GIT_TAG v1.8.2 EXCLUDE_FROM_ALL)
FetchContent_MakeAvailable(benchmark)