From f5113228c3aa89d49e71d42d11c38afe52695aa6 Mon Sep 17 00:00:00 2001 From: "Marcus D. Hanwell" Date: Mon, 26 Aug 2024 16:19:30 -0400 Subject: [PATCH] bug-fix: Don't enable the CUDA language if testing was requested when finding cudf (#16615) This PR removes CMake code enabling the CUDA language if the testing component was requested. Closes #16614 Authors: - Marcus D. Hanwell (https://github.com/cryos) Approvers: - Robert Maynard (https://github.com/robertmaynard) - Vyas Ramasubramani (https://github.com/vyasr) URL: https://github.com/rapidsai/cudf/pull/16615 --- cpp/CMakeLists.txt | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 6b8bb26825b..a6f72ed6b75 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -1069,23 +1069,12 @@ if(CUDF_ENABLE_ARROW_PARQUET) ) endif() -string( - APPEND - install_code_string - [=[ -if(testing IN_LIST cudf_FIND_COMPONENTS) - enable_language(CUDA) -endif() -]=] -) - rapids_export( INSTALL cudf EXPORT_SET cudf-exports ${_components_export_string} GLOBAL_TARGETS cudf cudftestutil NAMESPACE cudf:: DOCUMENTATION doc_string - FINAL_CODE_BLOCK install_code_string ) # ##################################################################################################