From 23da85ca58c98a5ff327cb43f53b9837662ae8af Mon Sep 17 00:00:00 2001
From: Frank Winklmeier <fwinkl@cern>
Date: Mon, 27 Jul 2020 18:50:33 +0200
Subject: [PATCH] IdDict[DetDescr]: remove atlas_depends_on_subdirs

---
 DetectorDescription/IdDict/CMakeLists.txt         |  9 +--------
 DetectorDescription/IdDictDetDescr/CMakeLists.txt | 11 +----------
 2 files changed, 2 insertions(+), 18 deletions(-)

diff --git a/DetectorDescription/IdDict/CMakeLists.txt b/DetectorDescription/IdDict/CMakeLists.txt
index 30002ee5b03..fb4386437b8 100644
--- a/DetectorDescription/IdDict/CMakeLists.txt
+++ b/DetectorDescription/IdDict/CMakeLists.txt
@@ -1,14 +1,8 @@
-################################################################################
-# Package: IdDict
-################################################################################
+# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 
 # Declare the package name:
 atlas_subdir( IdDict )
 
-# Declare the package's dependencies:
-atlas_depends_on_subdirs( PUBLIC
-                          DetectorDescription/Identifier )
-
 # Component(s) in the package:
 atlas_add_library( IdDict
                    src/IdDictMgr.cxx
@@ -16,7 +10,6 @@ atlas_add_library( IdDict
                    PUBLIC_HEADERS IdDict
                    LINK_LIBRARIES Identifier )
 
-
 # Code in this file makes heavy use of eigen and runs orders of magnitude
 # more slowly without optimization.  So force this to be optimized even
 # in debug builds.  If you need to debug it you might want to change this.
diff --git a/DetectorDescription/IdDictDetDescr/CMakeLists.txt b/DetectorDescription/IdDictDetDescr/CMakeLists.txt
index 0ab2617d32f..e306411bdf8 100644
--- a/DetectorDescription/IdDictDetDescr/CMakeLists.txt
+++ b/DetectorDescription/IdDictDetDescr/CMakeLists.txt
@@ -1,17 +1,8 @@
-################################################################################
-# Package: IdDictDetDescr
-################################################################################
+# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 
 # Declare the package name:
 atlas_subdir( IdDictDetDescr )
 
-# Declare the package's dependencies:
-atlas_depends_on_subdirs( PUBLIC
-                          Control/AthenaKernel
-                          DetectorDescription/IdDict
-                          PRIVATE
-                          DetectorDescription/Identifier )
-
 # Component(s) in the package:
 atlas_add_library( IdDictDetDescr
                    src/IdDictManager.cxx
-- 
GitLab