From 28cfd98fa258619699eea533e28876e8bd2070ed Mon Sep 17 00:00:00 2001 From: Frank Winklmeier <fwinkl@cern> Date: Wed, 29 Jul 2020 16:14:31 +0200 Subject: [PATCH] DataModelRoot: cmake cleanup --- Control/DataModelRoot/CMakeLists.txt | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/Control/DataModelRoot/CMakeLists.txt b/Control/DataModelRoot/CMakeLists.txt index ba8b1ba365f..d440eb34ca0 100644 --- a/Control/DataModelRoot/CMakeLists.txt +++ b/Control/DataModelRoot/CMakeLists.txt @@ -1,29 +1,20 @@ -################################################################################ -# Package: DataModelRoot -################################################################################ +# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # Declare the package name: atlas_subdir( DataModelRoot ) -atlas_depends_on_subdirs ( - PUBLIC - Control/CxxUtils - PRIVATE - Control/RootUtils ) - # External dependencies: -find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread ) +find_package( ROOT COMPONENTS Core RIO ) # Component(s) in the package: atlas_add_library( DataModelRoot src/*.cxx PUBLIC_HEADERS DataModelRoot INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} - LINK_LIBRARIES RootUtils ${ROOT_LIBRARIES} ) + LINK_LIBRARIES ${ROOT_LIBRARIES} CxxUtils + PRIVATE_LINK_LIBRARIES RootUtils ) atlas_add_dictionary( DataModelRootDict DataModelRoot/DataModelRootDict.h DataModelRoot/selection.xml - INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} - LINK_LIBRARIES ${ROOT_LIBRARIES} DataModelRoot ) - + LINK_LIBRARIES DataModelRoot ) -- GitLab