Skip to content
Snippets Groups Projects
Commit e0dea07c authored by scott snyder's avatar scott snyder Committed by scott snyder
Browse files

MuonRPC_CnvTools: cmake fixes

This package has a component library, but it also exports headers.
Define an interface library for the headers.

Library dependency fixes.
parent f969f47d
No related branches found
No related tags found
No related merge requests found
...@@ -8,13 +8,15 @@ atlas_subdir( MuonRPC_CnvTools ) ...@@ -8,13 +8,15 @@ atlas_subdir( MuonRPC_CnvTools )
# External dependencies: # External dependencies:
find_package( tdaq-common COMPONENTS eformat_write DataWriter ) 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: # Component(s) in the package:
atlas_add_component( MuonRPC_CnvTools atlas_add_component( MuonRPC_CnvTools
src/*.cxx src/*.cxx
src/components/*.cxx src/components/*.cxx
INCLUDE_DIRS ${TDAQ-COMMON_INCLUDE_DIRS} 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 ) 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 )
# Install files from the package:
atlas_install_headers( MuonRPC_CnvTools )
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