From b649a95e788834fb9c30f329d1cbdaf4f83e8307 Mon Sep 17 00:00:00 2001 From: Dante Gama Dessavre Date: Tue, 8 Jun 2021 15:35:34 -0500 Subject: [PATCH 1/2] ENH Use nested include in destination of install headers to avoid docker permission issues --- cpp/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 3be28f0768..2d227ced4b 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -140,8 +140,8 @@ install(TARGETS raft ) include(GNUInstallDirs) -install(DIRECTORY include/ - DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} +install(DIRECTORY include/raft/ + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/raft ) ############################################################################## From 8164f54669ac07937cfc533a028a02f4dae48904 Mon Sep 17 00:00:00 2001 From: Dante Gama Dessavre Date: Wed, 9 Jun 2021 10:46:59 -0500 Subject: [PATCH 2/2] FIX Install raft.hpp --- cpp/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 2d227ced4b..e6c3b85ff4 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -144,6 +144,11 @@ 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