diff --git a/Control/DataModelRoot/CMakeLists.txt b/Control/DataModelRoot/CMakeLists.txt index ba8b1ba365fc7bccd2a99ddd4f20813f2ea7006b..d440eb34ca01035bc276d23e48fec3c199bb1e70 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 )