From fd6d317d3a658c0fb656409ceb06db63599db279 Mon Sep 17 00:00:00 2001
From: Frank Gaede <frank.gaede@desy.de>
Date: Mon, 7 Apr 2014 08:27:32 +0000
Subject: [PATCH]  - added DD4hepRec to DD4hep_LIBRARIES

---
 cmake/DD4hepConfig.cmake.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmake/DD4hepConfig.cmake.in b/cmake/DD4hepConfig.cmake.in
index 8a4a75560..1d469348e 100644
--- a/cmake/DD4hepConfig.cmake.in
+++ b/cmake/DD4hepConfig.cmake.in
@@ -46,7 +46,7 @@ INCLUDE( ${DD4hep_ROOT}/cmake/DD4hepMacros.cmake )
 # additional components are set by cmake in variable PKG_FIND_COMPONENTS
 # first argument should be the package name
 if(@DD4HEP_WITH_GEANT4@)
-  CHECK_PACKAGE_LIBS( DD4hep DD4hepCore DDSegmentation DD4hepPlugins DD4hepG4 ) 
+  CHECK_PACKAGE_LIBS( DD4hep DD4hepCore DDSegmentation DD4hepRec DD4hepPlugins DD4hepG4 ) 
 
   #--- if geant 4 was built with CLHEP we need to export this to client packages
   if( @GEANT4_WITH_CLHEP@)
@@ -54,7 +54,7 @@ if(@DD4HEP_WITH_GEANT4@)
   endif()
 
 else()
-  CHECK_PACKAGE_LIBS( DD4hep DD4hepCore DDSegmentation DD4hepPlugins ) 
+  CHECK_PACKAGE_LIBS( DD4hep DD4hepCore DDSegmentation DD4hepRec DD4hepPlugins ) 
 endif()
 
 
-- 
GitLab