From bc853323352b05537a5ab9d76c6e8465a5d8779c Mon Sep 17 00:00:00 2001 From: Frank Winklmeier <fwinkl@cern> Date: Thu, 30 Jul 2020 09:39:23 +0200 Subject: [PATCH] AthContainersRoot: cmake fixes/cleanup --- Control/AthContainersRoot/CMakeLists.txt | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/Control/AthContainersRoot/CMakeLists.txt b/Control/AthContainersRoot/CMakeLists.txt index 7e80cbc8b66..4458818f049 100644 --- a/Control/AthContainersRoot/CMakeLists.txt +++ b/Control/AthContainersRoot/CMakeLists.txt @@ -1,30 +1,18 @@ -################################################################################ -# Package: AthContainersRoot -################################################################################ +#Copyright (C) 2020 CERN for the benefit of the ATLAS collaboration # Declare the package name: atlas_subdir( AthContainersRoot ) -# Declare the package's dependencies: -atlas_depends_on_subdirs( PUBLIC - GaudiKernel - Control/AthContainersInterfaces - Control/RootUtils - PRIVATE - AtlasTest/TestTools - Control/AthContainers - Control/AthLinks - Control/CxxUtils ) - # External dependencies: -find_package( ROOT COMPONENTS Core ) +find_package( ROOT COMPONENTS Core Tree ) # Component(s) in the package: atlas_add_library( AthContainersRoot src/*.cxx PUBLIC_HEADERS AthContainersRoot PRIVATE_INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} - PRIVATE_LINK_LIBRARIES ${ROOT_LIBRARIES} AthContainers AthLinks RootUtils ) + PRIVATE_LINK_LIBRARIES ${ROOT_LIBRARIES} AthContainers AthLinks CxxUtils RootUtils + LINK_LIBRARIES AthenaKernel GaudiKernel AthContainersInterfaces ) atlas_add_dictionary( AthContainersRootTestDict -- GitLab