From db57a68db7fd686cbbb646020d625c19dbd1e7a0 Mon Sep 17 00:00:00 2001 From: Frank Winklmeier <fwinkl@cern> Date: Mon, 9 Nov 2020 14:42:13 +0100 Subject: [PATCH] RecEvent*: cmake cleanup --- Reconstruction/RecEvent/CMakeLists.txt | 20 +++--------------- .../RecEventAthenaPool/CMakeLists.txt | 14 +------------ Reconstruction/RecEventTPCnv/CMakeLists.txt | 21 +++---------------- 3 files changed, 7 insertions(+), 48 deletions(-) diff --git a/Reconstruction/RecEvent/CMakeLists.txt b/Reconstruction/RecEvent/CMakeLists.txt index 1b469bd87f52..dfdb88732be9 100644 --- a/Reconstruction/RecEvent/CMakeLists.txt +++ b/Reconstruction/RecEvent/CMakeLists.txt @@ -1,29 +1,15 @@ -################################################################################ -# Package: RecEvent -################################################################################ +# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # Declare the package name: atlas_subdir( RecEvent ) -# Declare the package's dependencies: -atlas_depends_on_subdirs( PUBLIC - Control/AthenaKernel - Control/SGTools ) - -# External dependencies: -find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) - # Component(s) in the package: atlas_add_library( RecEvent src/*.cxx PUBLIC_HEADERS RecEvent - PRIVATE_INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} - LINK_LIBRARIES SGTools AthenaKernel - PRIVATE_LINK_LIBRARIES ${ROOT_LIBRARIES} ) + LINK_LIBRARIES SGTools AthenaKernel ) atlas_add_dictionary( RecEventDict RecEvent/RecEventDict.h RecEvent/selection.xml - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} SGTools RecEvent ) - + LINK_LIBRARIES RecEvent ) diff --git a/Reconstruction/RecEventAthenaPool/CMakeLists.txt b/Reconstruction/RecEventAthenaPool/CMakeLists.txt index 7bf27ff44682..ac21958e0e7b 100644 --- a/Reconstruction/RecEventAthenaPool/CMakeLists.txt +++ b/Reconstruction/RecEventAthenaPool/CMakeLists.txt @@ -1,20 +1,8 @@ -################################################################################ -# Package: RecEventAthenaPool -################################################################################ +# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # Declare the package name: atlas_subdir( RecEventAthenaPool ) -# Declare the package's dependencies: -atlas_depends_on_subdirs( PUBLIC - Database/AthenaPOOL/AthenaPoolUtilities - Database/AtlasSealCLHEP - PRIVATE - Database/AthenaPOOL/AthenaPoolCnvSvc - GaudiKernel - Reconstruction/RecEvent - Reconstruction/RecEventTPCnv ) - # Component(s) in the package: atlas_add_poolcnv_library( RecEventAthenaPoolPoolCnv src/*.cxx diff --git a/Reconstruction/RecEventTPCnv/CMakeLists.txt b/Reconstruction/RecEventTPCnv/CMakeLists.txt index 3209af5df198..96e717fe7c33 100644 --- a/Reconstruction/RecEventTPCnv/CMakeLists.txt +++ b/Reconstruction/RecEventTPCnv/CMakeLists.txt @@ -1,30 +1,15 @@ -################################################################################ -# Package: RecEventTPCnv -################################################################################ +# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # Declare the package name: atlas_subdir( RecEventTPCnv ) -# Declare the package's dependencies: -atlas_depends_on_subdirs( PUBLIC - Database/AthenaPOOL/AthenaPoolCnvSvc - Reconstruction/RecEvent - PRIVATE - Control/AthenaKernel ) - -# External dependencies: -find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) - # Component(s) in the package: atlas_add_tpcnv_library( RecEventTPCnv src/*.cxx PUBLIC_HEADERS RecEventTPCnv - PRIVATE_INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} AthenaPoolCnvSvcLib RecEvent AthenaKernel ) + LINK_LIBRARIES AthenaPoolCnvSvcLib RecEvent AthenaKernel ) atlas_add_dictionary( RecEventTPCnvDict RecEventTPCnv/RecEventTPCnvDict.h RecEventTPCnv/selection.xml - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} AthenaPoolCnvSvcLib RecEvent AthenaKernel RecEventTPCnv ) - + LINK_LIBRARIES RecEvent RecEventTPCnv ) -- GitLab