diff --git a/DDCore/CMakeLists.txt b/DDCore/CMakeLists.txt index 44e641cb5b9281396c28fc5dc3507f5707ae62e7..1d4f9b9a0b75e153162fd9f265f8f07c535e53d0 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 9109767c17e80c083d77cfaeb193ae2138a66c8a..f700904a91bf5b3ffb8d8811c2632ec3d60d85c8 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 )