From 549bcb7a0abace83e7f0b2ddac804598b3101b4c Mon Sep 17 00:00:00 2001 From: Robert Maynard Date: Tue, 31 Aug 2021 17:46:09 -0400 Subject: [PATCH] Import rapids-cmake modules using the correct cmake variable. (#9149) Use `rapids-cmake-dir` when computing the location of rapids-cmake modules. Corrects build errors that occur when `CUDF_BUILD_BENCHMARKS` is enabled. Authors: - Robert Maynard (https://github.com/robertmaynard) Approvers: - David Wendt (https://github.com/davidwendt) - Mark Harris (https://github.com/harrism) URL: https://github.com/rapidsai/cudf/pull/9149 --- cpp/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 18af85c98e0..6e80d0b32fc 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -618,7 +618,7 @@ if(CUDF_BUILD_BENCHMARKS) "BENCHMARK_ENABLE_INSTALL OFF") # Find or install NVBench - include(${rapids-cmake}/cpm/nvbench.cmake) + include(${rapids-cmake-dir}/cpm/nvbench.cmake) rapids_cpm_nvbench() add_subdirectory(benchmarks) endif()