Skip to content
Snippets Groups Projects
Commit c07f8a6f authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

TRT_Rec: cmake cleanup

Remove `atlas_depends_on_subdirs` and fix link dependencies. Remove
unused Eigen dependency. Do not install private headers.
parent ad4b3a12
No related branches found
No related tags found
No related merge requests found
################################################################################ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Package: TRT_Rec
################################################################################
# Declare the package name: # Declare the package name:
atlas_subdir( TRT_Rec ) atlas_subdir( TRT_Rec )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
Control/AthenaBaseComps
DetectorDescription/GeoPrimitives
DetectorDescription/IRegionSelector
DetectorDescription/Identifier
GaudiKernel
Reconstruction/iPat/iPatInterfaces
Event/EventContainers
PRIVATE
DetectorDescription/RoiDescriptor
InnerDetector/InDetDetDescr/InDetIdentifier
InnerDetector/InDetDetDescr/InDetReadoutGeometry
InnerDetector/InDetDetDescr/TRT_ReadoutGeometry
InnerDetector/InDetRecEvent/InDetPrepRawData
Reconstruction/iPat/iPatTrack
Reconstruction/iPat/iPatTrackParameters
Tracking/TrkDetDescr/TrkGeometry
Tracking/TrkDetDescr/TrkSurfaces
Tracking/TrkEvent/TrkEventPrimitives
Tracking/TrkEvent/TrkMeasurementBase
Tracking/TrkEvent/TrkParameters
Tracking/TrkEvent/TrkPrepRawData
Tracking/TrkEvent/TrkRIO_OnTrack
Tracking/TrkExtrapolation/TrkExInterfaces
Tracking/TrkExtrapolation/TrkExUtils
Tracking/TrkTools/TrkToolInterfaces )
# External dependencies:
find_package( Eigen )
# Component(s) in the package: # Component(s) in the package:
atlas_add_component( TRT_Rec atlas_add_component( TRT_Rec
src/TRT_Recon.cxx src/TRT_Recon.cxx
...@@ -46,9 +13,4 @@ atlas_add_component( TRT_Rec ...@@ -46,9 +13,4 @@ atlas_add_component( TRT_Rec
src/TRT_Predictor.cxx src/TRT_Predictor.cxx
src/TRT_RoadData.cxx src/TRT_RoadData.cxx
src/components/*.cxx src/components/*.cxx
INCLUDE_DIRS ${EIGEN_INCLUDE_DIRS} LINK_LIBRARIES AthenaBaseComps GeoPrimitives IRegionSelector Identifier GaudiKernel iPatInterfaces RoiDescriptor InDetIdentifier TRT_ReadoutGeometry InDetPrepRawData iPatTrack iPatTrackParameters TrkGeometry TrkSurfaces TrkEventPrimitives TrkMeasurementBase TrkParameters TrkPrepRawData TrkRIO_OnTrack TrkExInterfaces TrkExUtils TrkToolInterfaces )
LINK_LIBRARIES ${EIGEN_LIBRARIES} AthenaBaseComps GeoPrimitives IRegionSelector Identifier GaudiKernel iPatInterfaces RoiDescriptor InDetIdentifier InDetReadoutGeometry TRT_ReadoutGeometry InDetPrepRawData iPatTrack iPatTrackParameters TrkGeometry TrkSurfaces TrkEventPrimitives TrkMeasurementBase TrkParameters TrkPrepRawData TrkRIO_OnTrack TrkExInterfaces TrkExUtils TrkToolInterfaces EventContainers )
# Install files from the package:
atlas_install_headers( TRT_Rec )
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