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

MuonTGC_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 e1b631e1
No related branches found
No related tags found
No related merge requests found
......@@ -28,14 +28,19 @@ atlas_depends_on_subdirs( PUBLIC
find_package( Eigen )
find_package( tdaq-common COMPONENTS eformat_write DataWriter )
atlas_add_library( MuonTGC_CnvToolsLib
MuonTGC_CnvTools/*.h
INTERFACE
PUBLIC_HEADERS MuonTGC_CnvTools
LINK_LIBRARIES GaudiKernel ByteStreamData )
# Component(s) in the package:
atlas_add_component( MuonTGC_CnvTools
src/*.cxx
src/components/*.cxx
INCLUDE_DIRS ${TDAQ-COMMON_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS}
LINK_LIBRARIES ${TDAQ-COMMON_LIBRARIES} ${EIGEN_LIBRARIES} ByteStreamCnvSvcBaseLib ByteStreamData ByteStreamData_test GaudiKernel AthenaBaseComps Identifier EventPrimitives TGCcablingInterfaceLib MuonReadoutGeometry MuonDigitContainer MuonIdHelpersLib MuonRDO MuonPrepRawData MuonTrigCoinData TrkSurfaces )
LINK_LIBRARIES ${TDAQ-COMMON_LIBRARIES} ${EIGEN_LIBRARIES} ByteStreamCnvSvcBaseLib ByteStreamData ByteStreamData_test GaudiKernel AthenaBaseComps Identifier EventPrimitives TGCcablingInterfaceLib MuonReadoutGeometry MuonDigitContainer MuonIdHelpersLib MuonRDO MuonPrepRawData MuonTrigCoinData TrkSurfaces MuonCnvToolInterfacesLib MuonTGC_CnvToolsLib )
# Install files from the package:
atlas_install_headers( MuonTGC_CnvTools )
atlas_install_joboptions( share/*.py )
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