diff --git a/LArCalorimeter/LArCnv/LArAthenaPool/CMakeLists.txt b/LArCalorimeter/LArCnv/LArAthenaPool/CMakeLists.txt index 15e8aac8491fc5dbc6d24e481f54d05910f3b1f5..5944a121ce5456a12defffbe5540d19be11b3060 100644 --- a/LArCalorimeter/LArCnv/LArAthenaPool/CMakeLists.txt +++ b/LArCalorimeter/LArCnv/LArAthenaPool/CMakeLists.txt @@ -1,44 +1,28 @@ -################################################################################ -# Package: LArAthenaPool -################################################################################ +# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # Declare the package name: atlas_subdir( LArAthenaPool ) -# Declare the package's dependencies: -atlas_depends_on_subdirs( PUBLIC - Database/AthenaPOOL/AthenaPoolUtilities - Database/AtlasSealCLHEP - PRIVATE - AtlasTest/TestTools - Calorimeter/CaloDetDescr - Control/AthenaKernel - Control/StoreGate - Database/AthenaPOOL/AthenaPoolCnvSvc - GaudiKernel - LArCalorimeter/LArCnv/LArTPCnv - LArCalorimeter/LArRawEvent - LArCalorimeter/LArRecEvent ) - # Component(s) in the package: atlas_add_poolcnv_library( LArAthenaPoolPoolCnv - src/*.cxx - FILES LArRawEvent/LArRawChannelContainer.h LArRawEvent/LArDigitContainer.h LArRawEvent/LArTTL1Container.h LArRawEvent/LArFebErrorSummary.h LArRecEvent/LArNoisyROSummary.h - LINK_LIBRARIES AthenaPoolUtilities CaloDetDescrLib AthenaKernel StoreGateLib SGtests AthenaPoolCnvSvcLib GaudiKernel LArTPCnv LArRawEvent LArRecEvent ) + src/*.h src/*.cxx + FILES LArRawEvent/LArRawChannelContainer.h LArRawEvent/LArDigitContainer.h + LArRawEvent/LArTTL1Container.h LArRawEvent/LArFebErrorSummary.h + LArRecEvent/LArNoisyROSummary.h + LINK_LIBRARIES AthenaPoolUtilities CaloDetDescrLib AthenaKernel StoreGateLib + AthenaPoolCnvSvcLib GaudiKernel LArTPCnv LArRawEvent + LArRecEvent ) # Install files from the package: atlas_install_joboptions( share/*.py ) # Set up (a) test(s) for the converter(s): -if( IS_DIRECTORY ${CMAKE_SOURCE_DIR}/Database/AthenaPOOL/AthenaPoolUtilities ) - set( AthenaPoolUtilitiesTest_DIR - ${CMAKE_SOURCE_DIR}/Database/AthenaPOOL/AthenaPoolUtilities/cmake ) -endif() find_package( AthenaPoolUtilitiesTest ) if( ATHENAPOOLUTILITIESTEST_FOUND ) run_tpcnv_legacy_test( LArTPCnv_15.6.7 ESD-15.6.7-data ) run_tpcnv_legacy_test( LArTPCnv_20.1.7.2 ESD-20.1.7.2 ) else() - message( WARNING "Couldn't find AthenaPoolUtilitiesTest. No test(s) set up." ) -endif() + message( WARNING + "Couldn't find AthenaPoolUtilitiesTest. No test(s) set up." ) +endif() diff --git a/LArCalorimeter/LArCnv/LArSimEventAthenaPool/CMakeLists.txt b/LArCalorimeter/LArCnv/LArSimEventAthenaPool/CMakeLists.txt index 6c65d435993e5566da7038b8d0ee794afdb5d722..d6ca634f6155a1fb051b70cb9e18bba20755d08c 100644 --- a/LArCalorimeter/LArCnv/LArSimEventAthenaPool/CMakeLists.txt +++ b/LArCalorimeter/LArCnv/LArSimEventAthenaPool/CMakeLists.txt @@ -1,35 +1,19 @@ -################################################################################ -# Package: LArSimEventAthenaPool -################################################################################ +# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # Declare the package name: atlas_subdir( LArSimEventAthenaPool ) -# Declare the package's dependencies: -atlas_depends_on_subdirs( PUBLIC - Database/AthenaPOOL/AthenaPoolUtilities - Database/AtlasSealCLHEP - PRIVATE - AtlasTest/TestTools - Database/AthenaPOOL/AthenaPoolCnvSvc - GaudiKernel - LArCalorimeter/LArCnv/LArSimEventTPCnv - LArCalorimeter/LArSimEvent ) - # Component(s) in the package: atlas_add_poolcnv_library( LArSimEventAthenaPoolPoolCnv - src/*.cxx - FILES LArSimEvent/LArHitContainer.h LArSimEvent/LArHitFloatContainer.h - LINK_LIBRARIES AthenaPoolUtilities AthenaPoolCnvSvcLib GaudiKernel LArSimEventTPCnv LArSimEvent ) + src/*.h src/*.cxx + FILES LArSimEvent/LArHitContainer.h LArSimEvent/LArHitFloatContainer.h + LINK_LIBRARIES AthenaPoolUtilities AthenaPoolCnvSvcLib GaudiKernel + LArSimEventTPCnv LArSimEvent ) # Install files from the package: atlas_install_joboptions( share/*.py ) # Set up (a) test(s) for the converter(s): -if( IS_DIRECTORY ${CMAKE_SOURCE_DIR}/Database/AthenaPOOL/AthenaPoolUtilities ) - set( AthenaPoolUtilitiesTest_DIR - ${CMAKE_SOURCE_DIR}/Database/AthenaPOOL/AthenaPoolUtilities/cmake ) -endif() find_package( AthenaPoolUtilitiesTest ) if( ATHENAPOOLUTILITIESTEST_FOUND ) @@ -38,5 +22,6 @@ if( ATHENAPOOLUTILITIESTEST_FOUND ) run_tpcnv_legacy_test( LArSimEventTPCnv_HITS HITS.04919495._000416 REFERENCE_TAG ${LARSIMEVENTATHENAPOOL_REFERENCE_TAG} ) else() - message( WARNING "Couldn't find AthenaPoolUtilitiesTest. No test(s) set up." ) -endif() + message( WARNING + "Couldn't find AthenaPoolUtilitiesTest. No test(s) set up." ) +endif()