From d2c9ab26e273b86628cecaeb593a501d3999be7d Mon Sep 17 00:00:00 2001 From: Andre Sailer <andre.philippe.sailer@cern.ch> Date: Tue, 25 Jun 2019 13:28:47 +0200 Subject: [PATCH] DDCore and DDG4 CMakeLists: Move DD packages to front of Uses in dd4hep_package just in case this might give similar compilation problems as for DDCond --- DDCore/CMakeLists.txt | 4 ++-- DDG4/CMakeLists.txt | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/DDCore/CMakeLists.txt b/DDCore/CMakeLists.txt index 44e641cb5..1d4f9b9a0 100644 --- a/DDCore/CMakeLists.txt +++ b/DDCore/CMakeLists.txt @@ -10,8 +10,8 @@ # #================================================================================= dd4hep_package( DDCore - USES [ROOT REQUIRED COMPONENTS Geom GenVector] - DDParsers + USES DDParsers + [ROOT REQUIRED COMPONENTS Geom GenVector] OPTIONAL XERCESC INCLUDE_DIRS include INSTALL_INCLUDES include/DDSegmentation diff --git a/DDG4/CMakeLists.txt b/DDG4/CMakeLists.txt index 9109767c1..f700904a9 100644 --- a/DDG4/CMakeLists.txt +++ b/DDG4/CMakeLists.txt @@ -9,9 +9,10 @@ # #========================================================================== dd4hep_package( DDG4 - USES [GEANT4 REQUIRED COMPONENTS gdml ui_all vis_all] - [ROOT REQUIRED COMPONENTS Geom GenVector RIO] - BOOST DDCore + USES DDCore + [GEANT4 REQUIRED COMPONENTS gdml ui_all vis_all] + [ROOT REQUIRED COMPONENTS Geom GenVector RIO] + BOOST OPTIONAL ${CLHEP} [XercesC QUIET] INCLUDE_DIRS include INSTALL_INCLUDES include/DDG4 ) -- GitLab