diff --git a/MuonSpectrometer/MuonCnv/MuonRPC_CnvTools/CMakeLists.txt b/MuonSpectrometer/MuonCnv/MuonRPC_CnvTools/CMakeLists.txt index cd633c83144f7a8e16c6bab7fca24cd06fa9e600..94c184d1168efea2a9712f7dacfeb53af4f919bf 100644 --- a/MuonSpectrometer/MuonCnv/MuonRPC_CnvTools/CMakeLists.txt +++ b/MuonSpectrometer/MuonCnv/MuonRPC_CnvTools/CMakeLists.txt @@ -8,13 +8,15 @@ atlas_subdir( MuonRPC_CnvTools ) # External dependencies: find_package( tdaq-common COMPONENTS eformat_write DataWriter ) +atlas_add_library( MuonRPC_CnvToolsLib + INTERFACE + PUBLIC_HEADERS MuonRPC_CnvTools + LINK_LIBRARIES GaudiKernel ByteStreamData ) + # Component(s) in the package: atlas_add_component( MuonRPC_CnvTools src/*.cxx src/components/*.cxx INCLUDE_DIRS ${TDAQ-COMMON_INCLUDE_DIRS} - LINK_LIBRARIES ${TDAQ-COMMON_LIBRARIES} ByteStreamData ByteStreamData_test GaudiKernel AthenaBaseComps AthenaKernel StoreGateLib SGtests ByteStreamCnvSvcBaseLib MuonCondInterface MuonCondData MuonReadoutGeometry MuonDigitContainer MuonIdHelpersLib MuonRDO MuonPrepRawData MuonTrigCoinData TrkSurfaces TrigT1RPChardwareLib RPChardware RPC_CondCablingLib RPCcablingInterfaceLib MuonCnvToolInterfacesLib xAODEventInfo ) - -# Install files from the package: -atlas_install_headers( MuonRPC_CnvTools ) + LINK_LIBRARIES ${TDAQ-COMMON_LIBRARIES} MuonRPC_CnvToolsLib ByteStreamData_test GaudiKernel AthenaBaseComps AthenaKernel StoreGateLib SGtests ByteStreamCnvSvcBaseLib MuonCondInterface MuonCondData MuonReadoutGeometry MuonDigitContainer MuonIdHelpersLib MuonRDO MuonPrepRawData MuonTrigCoinData TrkSurfaces TrigT1RPChardwareLib RPC_CondCablingLib RPCcablingInterfaceLib MuonCnvToolInterfacesLib xAODEventInfo )