Skip to content

Commit

Permalink
Revert "Don't install component dependency files in raft-header only …
Browse files Browse the repository at this point in the history
…mode (rapidsai#655)"

This reverts commit ed81462.
  • Loading branch information
cjnolet committed May 17, 2022
1 parent ed81462 commit 0538acc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cpp/cmake/modules/raft_export.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,10 @@ function(raft_export type project_name)
file(MAKE_DIRECTORY "${scratch_dir}")
install(DIRECTORY "${scratch_dir}" DESTINATION "${install_location}"
COMPONENT raft_${comp})
if(EXISTS "${scratch_dir}/raft-${comp}-dependencies.cmake")
install(FILES "${scratch_dir}/raft-${comp}-dependencies.cmake" DESTINATION "${install_location}"
COMPONENT raft)
endif()
endforeach()

else()
Expand Down

0 comments on commit 0538acc

Please sign in to comment.