diff --git a/PhysicsAnalysis/D3PDMaker/D3PDMakerInterfaces/CMakeLists.txt b/PhysicsAnalysis/D3PDMaker/D3PDMakerInterfaces/CMakeLists.txt
index 9be035e427627b0524f5ac5ec087b9db84de5881..f566ec549f1a71807f4f341858c1ceeb656f608e 100644
--- a/PhysicsAnalysis/D3PDMaker/D3PDMakerInterfaces/CMakeLists.txt
+++ b/PhysicsAnalysis/D3PDMaker/D3PDMakerInterfaces/CMakeLists.txt
@@ -5,10 +5,8 @@
 # Declare the package name:
 atlas_subdir( D3PDMakerInterfaces )
 
-# Declare the package's dependencies:
-atlas_depends_on_subdirs( PUBLIC
-                          GaudiKernel )
-
-# Install files from the package:
-atlas_install_headers( D3PDMakerInterfaces )
-
+atlas_add_library( D3PDMakerInterfaces
+                   D3PDMakerInterfaces/*.h
+                   INTERFACE
+                   PUBLIC_HEADERS D3PDMakerInterfaces
+                   LINK_LIBRARIES GaudiKernel )