From 1cc6330fd1f7fda7bdca10d4a8924ff24d18b5d2 Mon Sep 17 00:00:00 2001 From: Andre Sailer <andre.philippe.sailer@cern.ch> Date: Fri, 18 Jul 2014 16:07:49 +0000 Subject: [PATCH] Install the cmake macros, run*.sh scripts, and thisdd4hep_package.sh.in file. It is necessary to copy most of the cmake content, if the installation directory is not the same as the source directory In that case the cmake folder would be missing. --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 751fd7335..9e8929ff5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -159,6 +159,12 @@ install(PROGRAMS ${CMAKE_BINARY_DIR}/run_test.sh DESTINATION bin ) +install(DIRECTORY cmake + DESTINATION ${CMAKE_INSTALL_PREFIX} + FILES_MATCHING PATTERN "*.cmake" PATTERN "thisdd4hep_package.sh.in" PATTERN "run*.sh" + PATTERN ".svn" EXCLUDE + ) + #----------------------------------------------------------------------------------- display_std_variables() -- GitLab