diff --git a/cpp/cmake/modules/raft_export.cmake b/cpp/cmake/modules/raft_export.cmake index b9a8bc6170..c7c81886e2 100644 --- a/cpp/cmake/modules/raft_export.cmake +++ b/cpp/cmake/modules/raft_export.cmake @@ -210,10 +210,6 @@ 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()