diff --git a/DDG4/CMakeLists.txt b/DDG4/CMakeLists.txt index e9f6e1c187f33a57014388c016a1d409cdf75230..99440da5e5408de8e0904dfaee188bb4a3a921aa 100644 --- a/DDG4/CMakeLists.txt +++ b/DDG4/CMakeLists.txt @@ -68,5 +68,5 @@ dd4hep_add_executable(pyddg4 USES [ROOT REQUIRED COMPONENTS PyROOT] OPTIONAL [PYTHON REQUIRED SOURCES pyddg4.cpp]) #---Package installation procedure(s) ---------------------------------------------- -dd4hep_install_dir(examples DESTINATION ${DD4hep_DIR}/examples/DDG4) -dd4hep_install_files(FILES python/*.py python/*.C DESTINATION ${DD4hep_DIR}/python) +dd4hep_install_dir(examples DESTINATION examples/DDG4) +dd4hep_install_files(FILES python/*.py python/*.C DESTINATION python) diff --git a/examples/AlignDet/CMakeLists.txt b/examples/AlignDet/CMakeLists.txt index 97ae44895661dab40b40fc5121f0b2861ef33edf..10d51bf8b708d83b36b17c058dbe02dba4a67d2c 100644 --- a/examples/AlignDet/CMakeLists.txt +++ b/examples/AlignDet/CMakeLists.txt @@ -21,7 +21,7 @@ dd4hep_package ( AlignDet MAJOR 0 MINOR 0 PATCH 1 ) dd4hep_add_plugin( AlignDetExample SOURCES src/*.cpp ) -dd4hep_install_dir( compact DESTINATION ${DD4hep_DIR}/examples/AlignDet ) +dd4hep_install_dir( compact DESTINATION examples/AlignDet ) dd4hep_configure_scripts( AlignDet DEFAULT_SETUP WITH_TESTS) # diff --git a/examples/Conditions/CMakeLists.txt b/examples/Conditions/CMakeLists.txt index 7a28ad6d8202deab17a4cab5e94a1af8355530ec..ee6cb58d743bc8396e27727a1bc4f5c77ebc0648 100644 --- a/examples/Conditions/CMakeLists.txt +++ b/examples/Conditions/CMakeLists.txt @@ -20,8 +20,8 @@ dd4hep_package ( Conditions MAJOR 0 MINOR 0 PATCH 1 ) #----------------------------------------------------------------------------------- dd4hep_add_plugin(ConditionsExample SOURCES src/*.cpp) -dd4hep_install_dir( xml DESTINATION ${DD4hep_DIR}/examples/Conditions ) -dd4hep_install_dir( data DESTINATION ${DD4hep_DIR}/examples/Conditions ) +dd4hep_install_dir( xml DESTINATION examples/Conditions ) +dd4hep_install_dir( data DESTINATION examples/Conditions ) dd4hep_configure_scripts ( Conditions DEFAULT_SETUP WITH_TESTS ) #-------------------------------------------------------------------------- #