diff --git a/InnerDetector/InDetConditions/PixelConditionsData/CMakeLists.txt b/InnerDetector/InDetConditions/PixelConditionsData/CMakeLists.txt
index 7f6ce0a55b29f57489e46960ce45530089ae5277..e1d3edc2ab58a954c579db84159edec267e5dea2 100644
--- a/InnerDetector/InDetConditions/PixelConditionsData/CMakeLists.txt
+++ b/InnerDetector/InDetConditions/PixelConditionsData/CMakeLists.txt
@@ -5,18 +5,6 @@
 # Declare the package name:
 atlas_subdir( PixelConditionsData )
 
-# Declare the package's dependencies:
-atlas_depends_on_subdirs( 
-  PUBLIC
-  Control/CxxUtils
-  DetectorDescription/Identifier
-  DetectorDescription/GeoPrimitives
-  Database/AthenaPOOL/AthenaPoolUtilities
-  InnerDetector/InDetConditions/InDetByteStreamErrors
-  PRIVATE
-  Control/AthenaKernel
-  GaudiKernel )
-
 # External dependencies:
 find_package( CLHEP )
 find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread )
@@ -27,6 +15,6 @@ atlas_add_library( PixelConditionsData
                    PUBLIC_HEADERS PixelConditionsData
                    PRIVATE_INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS}
                    PRIVATE_DEFINITIONS ${CLHEP_DEFINITIONS}
-                   LINK_LIBRARIES CxxUtils Identifier GeoPrimitives
+                   LINK_LIBRARIES CxxUtils Identifier GeoPrimitives InDetByteStreamErrors
                    PRIVATE_LINK_LIBRARIES ${CLHEP_LIBRARIES} ${ROOT_LIBRARIES} AthenaKernel AthenaPoolUtilities GaudiKernel )