From 26f586ff198f4cf8c720d88a70f2439c5342e938 Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Sun, 12 Jan 2020 13:50:18 +0100 Subject: [PATCH] ARROW-7540: [C++] Install license files and README MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #6158 from kou/cpp-install-license-files and squashes the following commits: cbbb831fb Install license files and README Authored-by: Sutou Kouhei Signed-off-by: Krisztián Szűcs --- cpp/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 33b0b92c6eb29..89f09e772e855 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -90,6 +90,7 @@ endif() set(BUILD_SUPPORT_DIR "${CMAKE_SOURCE_DIR}/build-support") set(ARROW_CMAKE_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}") +set(ARROW_DOC_DIR "share/doc/${PROJECT_NAME}") set(ARROW_LLVM_VERSION "7.0") # TODO: Remove this when we drop LLVM 7 support. @@ -818,6 +819,11 @@ if(ARROW_BUILD_EXAMPLES) add_subdirectory(examples/arrow) endif() +install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/../LICENSE.txt + ${CMAKE_CURRENT_SOURCE_DIR}/../NOTICE.txt + ${CMAKE_CURRENT_SOURCE_DIR}/README.md + DESTINATION "${ARROW_DOC_DIR}") + config_summary_message() if(${ARROW_BUILD_CONFIG_SUMMARY_JSON}) config_summary_json()