From 278eb1fb7eab71fb1e7d1c18899846247c895133 Mon Sep 17 00:00:00 2001 From: Yunsong Wang Date: Sun, 24 Nov 2024 21:20:23 -0800 Subject: [PATCH] Always export cuco --- cpp/CMakeLists.txt | 2 +- cpp/cmake/thirdparty/get_cucollections.cmake | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index e4fa3b28383..6285ba5695f 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -1007,7 +1007,7 @@ if(CUDF_BUILD_TESTUTIL) ) target_link_libraries( - cudftestutil INTERFACE Threads::Threads cudf cudftest_default_stream + cudftestutil INTERFACE cuco::cuco Threads::Threads cudf cudftest_default_stream $ ) diff --git a/cpp/cmake/thirdparty/get_cucollections.cmake b/cpp/cmake/thirdparty/get_cucollections.cmake index fb82b0f5ff3..b8fb02eea97 100644 --- a/cpp/cmake/thirdparty/get_cucollections.cmake +++ b/cpp/cmake/thirdparty/get_cucollections.cmake @@ -16,11 +16,7 @@ function(find_and_configure_cucollections) include(${rapids-cmake-dir}/cpm/cuco.cmake) - if(BUILD_SHARED_LIBS) - rapids_cpm_cuco(BUILD_EXPORT_SET cudf-exports) - else() - rapids_cpm_cuco(BUILD_EXPORT_SET cudf-exports INSTALL_EXPORT_SET cudf-exports) - endif() + rapids_cpm_cuco(BUILD_EXPORT_SET cudf-exports INSTALL_EXPORT_SET cudf-exports) endfunction() find_and_configure_cucollections()