Skip to content

Commit

Permalink
get_cucollections properly uses rapids_cpm_find (#9189)
Browse files Browse the repository at this point in the history
When #9030 was merged it incorrectly resolved `get_cucollections.cmake` to use features of `rapids_cpm_find` but still call `CPMFindPackage`. This corrects the issues by properly calling `rapids_cpm_find`.

Authors:
  - Robert Maynard (https://github.com/robertmaynard)

Approvers:
  - Keith Kraus (https://github.com/kkraus14)
  - Mark Harris (https://github.com/harrism)

URL: #9189
  • Loading branch information
robertmaynard authored Sep 17, 2021
1 parent 3bbec6e commit e04fe79
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cpp/cmake/thirdparty/get_cucollections.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,8 @@

function(find_and_configure_cucollections)

if(TARGET cuco::cuco)
return()
endif()

# Find or install cuCollections
CPMFindPackage(NAME cuco
rapids_cpm_find(cuco 0.0
GLOBAL_TARGETS cuco::cuco
CPM_ARGS
GITHUB_REPOSITORY NVIDIA/cuCollections
Expand Down

0 comments on commit e04fe79

Please sign in to comment.