From 880fa02a7b4888c0bcf565eb469b2b27da001ae1 Mon Sep 17 00:00:00 2001 From: Dante Gama Dessavre Date: Tue, 8 Jun 2021 11:55:52 -0500 Subject: [PATCH] ENH Use nested include in destination of install headers to avoid docker permission issues --- cpp/CMakeLists.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 8e32011724..88f948fe84 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -401,8 +401,7 @@ endif(BUILD_CUML_EXAMPLES) # ################################################################################################### # # - install targets ------------------------------------------------------------------------------- -set(CUML_TARGETS - ${CUML_CPP_TARGET}) +set(CUML_TARGETS ${CUML_CPP_TARGET}) if(BUILD_CUML_C_LIBRARY) list(APPEND CUML_TARGETS @@ -416,8 +415,8 @@ install(TARGETS EXPORT cuml-exports) -install(DIRECTORY include/ - DESTINATION include) +install(DIRECTORY include/cuml/ + DESTINATION include/cuml) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/include/cuml/version_config.hpp DESTINATION include/cuml) @@ -456,7 +455,7 @@ rapids_export(BUILD cuml if(BUILD_CUML_BENCH OR BUILD_CUML_PRIMS_BENCH) add_subdirectory(bench) -endif(BUILD_CUML_BENCH) +endif() ############################################################################## # - doxygen targets ----------------------------------------------------------