Skip to content

Commit

Permalink
bug-fix: Don't enable the CUDA language if testing was requested when…
Browse files Browse the repository at this point in the history
… 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: #16615
  • Loading branch information
cryos authored Aug 26, 2024
1 parent d15d470 commit f511322
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

# ##################################################################################################
Expand Down

0 comments on commit f511322

Please sign in to comment.