Skip to content
Snippets Groups Projects
Commit cfb6597b authored by Adam Edward Barton's avatar Adam Edward Barton
Browse files

Merge branch 'cmake_hzz' into 'master'

ZMassConstraint: cmake cleanup

See merge request atlas/athena!38377
parents 13577ee5 c6c2f042
No related branches found
No related tags found
No related merge requests found
# $Id: CMakeLists.txt 781052 2016-10-28 16:02:10Z krasznaa $
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# The name of the package:
atlas_subdir( ZMassConstraint )
# Extra dependencies, based on the build environment:
set( extra_deps )
if( NOT XAOD_STANDALONE )
set( extra_deps Control/AthenaBaseComps GaudiKernel )
endif()
# The dependencies of the package:
atlas_depends_on_subdirs(
PUBLIC
Control/AthToolSupport/AsgTools
Event/EventPrimitives
Event/xAOD/xAODBase
Event/xAOD/xAODEgamma
Event/xAOD/xAODMuon
PRIVATE
Event/xAOD/xAODEventInfo
Event/xAOD/xAODTracking
PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection
PhysicsAnalysis/MuonID/MuonIDAnalysis/MuonMomentumCorrections
PhysicsAnalysis/Interfaces/EgammaAnalysisInterfaces
${extra_deps} )
# Externals used by the package:
find_package( ROOT COMPONENTS Core Physics )
......@@ -33,15 +11,13 @@ atlas_add_library( ZMassConstraintLib
ZMassConstraint/*.h Root/*.cxx
PUBLIC_HEADERS ZMassConstraint
INCLUDE_DIRS ${ROOT_INCLUDE_DIRS}
LINK_LIBRARIES ${ROOT_LIBRARIES} AsgTools EventPrimitives xAODBase xAODEgamma
xAODMuon
PRIVATE_LINK_LIBRARIES MuonMomentumCorrectionsLib )
LINK_LIBRARIES ${ROOT_LIBRARIES} AsgTools EventPrimitives xAODBase xAODEgamma xAODMuon
PRIVATE_LINK_LIBRARIES EgammaAnalysisInterfacesLib MuonAnalysisInterfacesLib xAODTracking )
if( NOT XAOD_STANDALONE )
atlas_add_component( ZMassConstaint
src/*.h src/*.cxx src/components/*.cxx
LINK_LIBRARIES AthenaBaseComps AsgTools xAODEgamma xAODEventInfo
xAODTracking GaudiKernel ZMassConstraintLib )
LINK_LIBRARIES AsgTools xAODEgamma xAODEventInfo xAODTracking ZMassConstraintLib )
endif()
atlas_add_dictionary( ZMassConstraintDict
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment