This is an automated email from the ASF dual-hosted git repository. asekretenko pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git
commit 4a09d9259d4f84c2550fd3b867bbfea47c3ca6af Author: Andriy Kornatskyy <andriy.kornats...@live.com> AuthorDate: Fri May 29 11:37:36 2020 +0300 Added headers install target for building modules into libprocess. This patch introduces a conditional install target for libprocess headers that is added when the `ENABLE_INSTALL_MODULE_DEPENDENCIES` flag is on. This closes #363 --- 3rdparty/libprocess/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/3rdparty/libprocess/CMakeLists.txt b/3rdparty/libprocess/CMakeLists.txt index 5bba8e2..fa95b4b 100644 --- a/3rdparty/libprocess/CMakeLists.txt +++ b/3rdparty/libprocess/CMakeLists.txt @@ -17,3 +17,9 @@ add_subdirectory(src) add_subdirectory(src/tests) add_subdirectory(examples) + +if (ENABLE_INSTALL_MODULE_DEPENDENCIES) + install( + DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include + DESTINATION .) +endif ()