diff --git a/cpp/benchmarks/CMakeLists.txt b/cpp/benchmarks/CMakeLists.txt index 4e556220cc7..5d3be71286d 100644 --- a/cpp/benchmarks/CMakeLists.txt +++ b/cpp/benchmarks/CMakeLists.txt @@ -24,8 +24,8 @@ target_compile_options( target_link_libraries( cudf_datagen - PUBLIC GTest::gmock GTest::gtest GTest::gmock_main GTest::gtest_main benchmark::benchmark - nvbench::nvbench Threads::Threads cudf cudftestutil + PUBLIC GTest::gmock GTest::gtest benchmark::benchmark nvbench::nvbench Threads::Threads cudf + cudftestutil PRIVATE $ )