From ac6908a1399b00759624aba7c92b7cfe6588fbe7 Mon Sep 17 00:00:00 2001 From: gabime Date: Thu, 9 Dec 2021 22:35:16 +0200 Subject: [PATCH] Update bench CMakelists.txt --- bench/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bench/CMakeLists.txt b/bench/CMakeLists.txt index 489802d9..144f50b8 100644 --- a/bench/CMakeLists.txt +++ b/bench/CMakeLists.txt @@ -16,7 +16,9 @@ if(NOT benchmark_FOUND) # User can fetch googlebenchmark message(STATUS "Downloading GoogleBenchmark") include(FetchContent) - set(BENCHMARK_ENABLE_GTEST_TESTS OFF CACHE INTERNAL "") + + # 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_MakeAvailable(googlebenchmark)