diff --git a/DDRec/CMakeLists.txt b/DDRec/CMakeLists.txt
index 06023ead9c8d15976595f465f62f0cdc9f65ef6c..4633ebb145ef6674ab432c64238c4911de7558a0 100644
--- a/DDRec/CMakeLists.txt
+++ b/DDRec/CMakeLists.txt
@@ -16,7 +16,7 @@ dd4hep_add_dictionary( G__DDRec
   SOURCES ../DDCore/include/ROOT/Warnings.h
   GENERATED src/RecDictionary.h
   LINKDEF ../DDCore/include/ROOT/LinkDef.h
-  USES DDCore DDParsers
+  USES DD4hep::DDCore DD4hep::DDParsers
 )
 
 file(GLOB DDRec_SOURCES src/*.cpp )
@@ -41,7 +41,7 @@ TARGET_INCLUDE_DIRECTORIES(DDRec
   )
 
 TARGET_LINK_LIBRARIES(DDRec PUBLIC
-  DDCore
+  DD4hep::DDCore
   ${GEAR_LIBRARIES}
   ${GEAR_COMPONENT_LIBRARIES}
   )