From 654a0fb48a7949351305b701679063e6e862d983 Mon Sep 17 00:00:00 2001 From: Vyas Ramasubramani Date: Tue, 25 Oct 2022 08:39:01 -0700 Subject: [PATCH] Use rapids-cmake for google benchmark. --- cpp/CMakeLists.txt | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 0ffcc2e3e0b..ea60f467ce9 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -749,13 +749,8 @@ endif() if(CUDF_BUILD_BENCHMARKS) # Find or install GoogleBench - rapids_cpm_find( - benchmark 1.5.2 - GIT_REPOSITORY https://github.com/google/benchmark.git - GIT_TAG v1.5.2 - GIT_SHALLOW TRUE - OPTIONS "BENCHMARK_ENABLE_TESTING OFF" "BENCHMARK_ENABLE_INSTALL OFF" - ) + include(${rapids-cmake-dir}/cpm/gbench.cmake) + rapids_cpm_gbench() # Find or install NVBench include(${rapids-cmake-dir}/cpm/nvbench.cmake)