From ea60d5f3dd2b22b5d8c480d15ced267af3eeb753 Mon Sep 17 00:00:00 2001
From: Frank Winklmeier <fwinkl@cern>
Date: Mon, 27 Jul 2020 18:56:41 +0200
Subject: [PATCH] IdDictParser: cmake cleanup

---
 .../IdDictParser/CMakeLists.txt                | 18 ++++--------------
 1 file changed, 4 insertions(+), 14 deletions(-)

diff --git a/DetectorDescription/IdDictParser/CMakeLists.txt b/DetectorDescription/IdDictParser/CMakeLists.txt
index df9dc06412f..1f36b437d4c 100644
--- a/DetectorDescription/IdDictParser/CMakeLists.txt
+++ b/DetectorDescription/IdDictParser/CMakeLists.txt
@@ -1,31 +1,21 @@
-################################################################################
-# Package: IdDictParser
-################################################################################
+# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 
 # Declare the package name:
 atlas_subdir( IdDictParser )
 
-# Declare the package's dependencies:
-atlas_depends_on_subdirs( PUBLIC
-                          DetectorDescription/IdDict
-                          Tools/XMLCoreParser
-                          PRIVATE
-                          DetectorDescription/Identifier )
-
 # Component(s) in the package:
 atlas_add_library( IdDictParser
                    src/IdDictParser.cxx
                    PUBLIC_HEADERS IdDictParser
-                   LINK_LIBRARIES IdDict XMLCoreParser
-                   PRIVATE_LINK_LIBRARIES Identifier )
+                   LINK_LIBRARIES IdDict XMLCoreParser )
 
 atlas_add_executable( tid
                       test/tid.cxx
-                      LINK_LIBRARIES IdDict XMLCoreParser Identifier IdDictParser )
+                      LINK_LIBRARIES IdDictParser Identifier )
 
 atlas_add_executable( test_det_id
                       test/test_indet_id.cxx
-                      LINK_LIBRARIES IdDict XMLCoreParser Identifier IdDictParser )
+                      LINK_LIBRARIES IdDictParser Identifier )
 
 atlas_add_dictionary( IdDictParserDict
                       IdDictParser/IdDictParserDict.h
-- 
GitLab