Skip to content

Commit

Permalink
Adding INSTALL_EXPORT_SET for cuco, rmm, thrust (#579)
Browse files Browse the repository at this point in the history
Authors:
  - Corey J. Nolet (https://github.com/cjnolet)

Approvers:
  - Brad Rees (https://github.com/BradReesWork)
  - Dante Gama Dessavre (https://github.com/dantegd)

URL: #579
  • Loading branch information
cjnolet authored Mar 22, 2022
1 parent ebc4feb commit e74c012
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions cpp/cmake/thirdparty/get_cuco.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ function(find_and_configure_cuco VERSION)
rapids_cpm_find(cuco ${VERSION}
GLOBAL_TARGETS cuco::cuco
BUILD_EXPORT_SET raft-exports
INSTALL_EXPORT_SET raft-exports
CPM_ARGS
EXCLUDE_FROM_ALL TRUE
GIT_REPOSITORY https://github.com/NVIDIA/cuCollections.git
Expand Down
3 changes: 2 additions & 1 deletion cpp/cmake/thirdparty/get_rmm.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@

function(find_and_configure_rmm)
include(${rapids-cmake-dir}/cpm/rmm.cmake)
rapids_cpm_rmm(BUILD_EXPORT_SET raft-exports)
rapids_cpm_rmm(BUILD_EXPORT_SET raft-exports
INSTALL_EXPORT_SET raft-exports)
endfunction()

find_and_configure_rmm()
5 changes: 3 additions & 2 deletions cpp/cmake/thirdparty/get_thrust.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
function(find_and_configure_thrust)
include(${rapids-cmake-dir}/cpm/thrust.cmake)

rapids_cpm_thrust( NAMESPACE raft )
rapids_export_package(BUILD Thrust raft-exports)
rapids_cpm_thrust( NAMESPACE raft
BUILD_EXPORT_SET raft-exports
INSTALL_EXPORT_SET raft-exports)
endfunction()

find_and_configure_thrust()

0 comments on commit e74c012

Please sign in to comment.