From ecace1aadeef25702eaed91eb5468165fb6d9ad5 Mon Sep 17 00:00:00 2001 From: jmcarcell <jmcarcell@users.noreply.github.com> Date: Fri, 14 Jul 2023 08:30:48 +0200 Subject: [PATCH] Move the tuple examples to build only with AIDA --- GaudiExamples/CMakeLists.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/GaudiExamples/CMakeLists.txt b/GaudiExamples/CMakeLists.txt index 3bc01f503f..9635ebd5e8 100644 --- a/GaudiExamples/CMakeLists.txt +++ b/GaudiExamples/CMakeLists.txt @@ -132,19 +132,19 @@ if(GAUDI_USE_AIDA) src/IO/WriteHandleAlg.cpp src/RandomNumber/RandomNumberAlg.cpp) target_link_libraries(GaudiExamples PRIVATE AIDA::aida) + if(GAUDI_USE_CLHEP) + target_sources(GaudiExamples PRIVATE src/TupleEx/TupleAlg2.cpp + src/TupleEx/TupleAlg3.cpp + src/TupleEx/TupleAlg.cpp + src/TupleEx/TupleDef.cpp) + target_link_libraries(GaudiExamples PRIVATE CLHEP::CLHEP) + endif() endif() if(GAUDI_USE_HEPPDT) target_sources(GaudiExamples PRIVATE src/PartProp/GaudiPPS.cpp src/PartProp/PartPropExa.cpp) target_link_libraries(GaudiExamples PRIVATE HepPDT::heppdt) endif() -if(GAUDI_USE_CLHEP) - target_sources(GaudiExamples PRIVATE src/TupleEx/TupleAlg2.cpp - src/TupleEx/TupleAlg3.cpp - src/TupleEx/TupleAlg.cpp - src/TupleEx/TupleDef.cpp) - target_link_libraries(GaudiExamples PRIVATE CLHEP::CLHEP) -endif() if(TARGET RootCnvLib) target_sources(GaudiExamples PRIVATE src/MultiInput/DumpAddress.cpp src/MultiInput/MIReadAlg.cpp -- GitLab