From e9bfd8ff13584e93cbb46ceb0fd29092cd03bbd4 Mon Sep 17 00:00:00 2001
From: Frank Gaede <frank.gaede@desy.de>
Date: Mon, 16 Sep 2013 13:09:23 +0000
Subject: [PATCH]  - set dependency to DD4hepCore only

---
 DDSegmentation/CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/DDSegmentation/CMakeLists.txt b/DDSegmentation/CMakeLists.txt
index 843d317f0..46c8925a9 100644
--- a/DDSegmentation/CMakeLists.txt
+++ b/DDSegmentation/CMakeLists.txt
@@ -8,7 +8,8 @@ file(GLOB sources src/*.cpp)
 include(DD4hep_XML_setup)
 
 add_library(DDSegmentation SHARED ${sources})
-target_link_libraries(DDSegmentation ${DD4hep_LIBRARIES} ${ROOT_LIBRARIES})
+target_link_libraries(DDSegmentation DD4hepCore ${ROOT_LIBRARIES})
+#target_link_libraries(DDSegmentation ${DD4hep_LIBRARIES} ${ROOT_LIBRARIES})
 
 SET_TARGET_PROPERTIES( DDSegmentation PROPERTIES VERSION ${DD4hep_VERSION} SOVERSION ${DD4hep_SOVERSION})
 
-- 
GitLab