From f1f00efca462efda73859d139f8ac595415fb1e6 Mon Sep 17 00:00:00 2001 From: Attila Krasznahorkay <Attila.Krasznahorkay@cern.ch> Date: Fri, 17 Jul 2020 12:31:34 +0200 Subject: [PATCH] Now linking Tauolapp_i against TauolaHepMC. With the 1.1.8.atlas version of Tauola++, which is part of LCG_97a_ATLAS_1, the libraries were split up a bit more. And now we need to link against libTauolaHepMC.so as well. Note that once the HepMC3 migration reaches this package, I believe this configuration will have to be updated to use libTauolaHepMC3.so instead. --- Generators/Tauolapp_i/CMakeLists.txt | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/Generators/Tauolapp_i/CMakeLists.txt b/Generators/Tauolapp_i/CMakeLists.txt index 3ed58dfd82b..66c883d0c6b 100644 --- a/Generators/Tauolapp_i/CMakeLists.txt +++ b/Generators/Tauolapp_i/CMakeLists.txt @@ -1,33 +1,19 @@ -################################################################################ -# Package: Tauolapp_i -################################################################################ +# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # Declare the package name: atlas_subdir( Tauolapp_i ) -# Declare the package's dependencies: -atlas_depends_on_subdirs( - PUBLIC - Control/AthenaBaseComps - Control/AthenaKernel - Database/AthenaPOOL/AthenaPoolUtilities - Event/EventInfo - GaudiKernel - Generators/AtlasHepMC - Generators/GeneratorObjects ) - # External dependencies: find_package( CLHEP ) -find_package( Tauolapp COMPONENTS TauolaFortran ) +find_package( Tauolapp COMPONENTS TauolaFortran TauolaHepMC ) # Component(s) in the package: atlas_add_component( Tauolapp_i Tauolapp_i/*.h src/*.cxx src/components/*.cxx INCLUDE_DIRS ${TAUOLAPP_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} - LINK_LIBRARIES ${TAUOLAPP_LIBRARIES} AtlasHepMCLib ${CLHEP_LIBRARIES} - AthenaBaseComps AthenaPoolUtilities EventInfo GaudiKernel GeneratorObjects ) + AthenaBaseComps AthenaKernel AthenaPoolUtilities EventInfo GaudiKernel + GeneratorObjects ) # Install files from the package: -atlas_install_headers( Tauolapp_i ) atlas_install_joboptions( share/*.py ) -- GitLab