diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 3be28f0768..e6c3b85ff4 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -140,10 +140,15 @@ install(TARGETS raft ) include(GNUInstallDirs) -install(DIRECTORY include/ - DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} +install(DIRECTORY include/raft/ + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/raft ) +# Temporary install of raft.hpp while the file is removed +install(FILES include/raft.hpp + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/raft + ) + ############################################################################## # - install export ----------------------------------------------------------- set(doc_string