From 7da6c3a95870545e7a467f41cd8a947d000c2f3f Mon Sep 17 00:00:00 2001 From: Robert Maynard Date: Thu, 9 Sep 2021 12:42:11 -0400 Subject: [PATCH] Remove zlib from public CMake dependencies --- cpp/CMakeLists.txt | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index de6530084ad..0d0d54925c2 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -102,9 +102,8 @@ include(cmake/Modules/ConfigureCUDA.cmake) # set other CUDA compilation flags # - dependencies ---------------------------------------------------------------------------------- # find zlib -rapids_find_package(ZLIB REQUIRED - BUILD_EXPORT_SET cudf-exports - INSTALL_EXPORT_SET cudf-exports) +rapids_find_package(ZLIB REQUIRED) + # find Threads (needed by cudftestutil) rapids_find_package(Threads REQUIRED BUILD_EXPORT_SET cudf-exports @@ -505,11 +504,11 @@ add_dependencies(cudf jitify_preprocess_run) # Specify the target module library dependencies target_link_libraries(cudf - PUBLIC ZLIB::ZLIB - ${ARROW_LIBRARIES} + PUBLIC ${ARROW_LIBRARIES} cudf::Thrust rmm::rmm - PRIVATE cuco::cuco) + PRIVATE cuco::cuco + ZLIB::ZLIB) # Add Conda library, and include paths if specified if(TARGET conda_env)