diff --git a/Tracking/TrkAlignment/TrkAlignInterfaces/CMakeLists.txt b/Tracking/TrkAlignment/TrkAlignInterfaces/CMakeLists.txt
index faa63c2bcc5e88f9a5f392c4ad81a0db1242448b..32026fb93ef5a6b65dcb3ac298d4c0dd6d095cbd 100644
--- a/Tracking/TrkAlignment/TrkAlignInterfaces/CMakeLists.txt
+++ b/Tracking/TrkAlignment/TrkAlignInterfaces/CMakeLists.txt
@@ -12,6 +12,9 @@ atlas_depends_on_subdirs( PUBLIC
                           Tracking/TrkAlignment/TrkAlignEvent
                           Tracking/TrkEvent/TrkTrack )
 
-# Install files from the package:
-atlas_install_headers( TrkAlignInterfaces )
+atlas_add_library( TrkAlignInterfaces
+                   TrkAlignInterfaces/*.h
+                   INTERFACE
+                   PUBLIC_HEADERS TrkAlignInterfaces
+                   LINK_LIBRARIES GaudiKernel AthContainers TrkAlignEvent TrkTrack )