diff --git a/DDSegmentation/CMakeLists.txt b/DDSegmentation/CMakeLists.txt index 843d317f03c6a18fd3a9dd8b23bbbffd8bddd9b7..46c8925a98be1ba05b44c56df01134d2f2317042 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})