diff --git a/DDCore/CMakeLists.txt b/DDCore/CMakeLists.txt index a3ded85e8279557a320a4984fbe35fdf7cdcf719..d351cf63810d5fc3cd8d5675a80e83aba66c39f2 100644 --- a/DDCore/CMakeLists.txt +++ b/DDCore/CMakeLists.txt @@ -40,26 +40,26 @@ dd4hep_add_dictionary( G__DD4hep include/XML/tinystring.h ${EXCLUDE_HEADER} LINKDEF include/ROOT/LinkDef.h - USES DDParsers ${XML_LIBRARIES} ${TBB_IMPORTED_TARGETS} + USES DDCore DDParsers ${XML_LIBRARIES} ${TBB_IMPORTED_TARGETS} DEFINITIONS DD4HEP_MUST_USE_DETECTORIMP_H ) dd4hep_add_dictionary( G__DD4hepGeo SOURCES include/ROOT/Warnings.h src/GeoDictionary.h LINKDEF include/ROOT/LinkDef.h - USES DDParsers ${XML_LIBRARIES} + USES DDCore DDParsers ${XML_LIBRARIES} ) dd4hep_add_dictionary( G__DD4hepProperties SOURCES include/ROOT/Warnings.h src/PropertyDictionary.h LINKDEF include/ROOT/LinkDef.h - USES DDParsers ${XML_LIBRARIES} + USES DDCore DDParsers ${XML_LIBRARIES} ) dd4hep_add_dictionary( G__DD4hepSegmentations SOURCES include/ROOT/Warnings.h src/SegmentationDictionary.h LINKDEF include/ROOT/LinkDef.h - USES DDParsers ${XML_LIBRARIES} + USES DDCore DDParsers ${XML_LIBRARIES} ) if(TARGET Boost::boost) diff --git a/DDG4/CMakeLists.txt b/DDG4/CMakeLists.txt index d52362e3860c22bd68ff3b563d5c1029283f192b..9fdb47e48fa5dd5a3e8dd56b8cb2bb66065ac416 100644 --- a/DDG4/CMakeLists.txt +++ b/DDG4/CMakeLists.txt @@ -57,7 +57,7 @@ if(TARGET Python::Python AND TARGET ${DD4HEP_ROOT_PYTHON}) ) dd4hep_add_dictionary(G__DDPython SOURCES tpython/DDPython.C - USES Python::Python + USES DD4hep::DDCore Python::Python ) #--------------------------- Specialized python plugins -------------------------- dd4hep_print("|++> ROOT Has Python, creating DDPython library and plugins")