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

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