Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use nested include in destination of install headers to avoid docker permission issues #3962

Merged
merged 1 commit into from
Jun 24, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down Expand Up @@ -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 ----------------------------------------------------------
Expand Down