Skip to content

Commit

Permalink
cmake: fix some link targets (#25)
Browse files Browse the repository at this point in the history
Gaudi targets have a Gaudi:: namespace since v35, and k4FWCorePlugins does not need to be linked.
  • Loading branch information
vvolkl authored Mar 28, 2022
1 parent 0fa8562 commit ed761c8
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 3 deletions.
13 changes: 12 additions & 1 deletion RecCalorimeter/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,18 @@
file(GLOB _module_sources src/components/*.cpp)
gaudi_add_module(k4RecCalorimeterPlugins
SOURCES ${_module_sources}
LINK k4FWCore::k4FWCore GaudiAlgLib GaudiKernel DD4hep::DDCore EDM4HEP::edm4hep k4FWCore::k4Interface FCCDetectors::DetSegmentation DD4hep::DDG4 ROOT::Core ROOT::Hist FCCDetectors::DetCommon)
LINK k4FWCore::k4FWCore
k4FWCore::k4Interface
Gaudi::GaudiAlgLib
Gaudi::GaudiKernel
DD4hep::DDCore
DD4hep::DDG4
EDM4HEP::edm4hep
ROOT::Core
ROOT::Hist
FCCDetectors::DetSegmentation
FCCDetectors::DetCommon
)

install(TARGETS k4RecCalorimeterPlugins
EXPORT k4RecCalorimeterTargets
Expand Down
12 changes: 11 additions & 1 deletion RecFCCeeCalorimeter/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,17 @@
file(GLOB _module_sources src/components/*.cpp)
gaudi_add_module(k4RecFCCeeCalorimeterPlugins
SOURCES ${_module_sources}
LINK k4FWCore::k4FWCorePlugins GaudiAlgLib GaudiKernel DD4hep::DDCore EDM4HEP::edm4hep k4FWCore::k4Interface FCCDetectors::DetSegmentation DD4hep::DDG4 ROOT::Core ROOT::Hist)
LINK k4FWCore::k4FWCore
k4FWCore::k4Interface
Gaudi::GaudiAlgLib
Gaudi::GaudiKernel
DD4hep::DDCore
EDM4HEP::edm4hep
FCCDetectors::DetSegmentation
DD4hep::DDG4
ROOT::Core
ROOT::Hist
)

install(TARGETS k4RecFCCeeCalorimeterPlugins
EXPORT k4RecCalorimeterTargets
Expand Down
13 changes: 12 additions & 1 deletion RecFCChhCalorimeter/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,18 @@
file(GLOB _module_sources src/components/*.cpp)
gaudi_add_module(k4RecFCChhCalorimeterPlugins
SOURCES ${_module_sources}
LINK k4FWCore::k4FWCorePlugins GaudiAlgLib GaudiKernel DD4hep::DDCore EDM4HEP::edm4hep k4FWCore::k4Interface FCCDetectors::DetSegmentation FCCDetectors::DetCommon DD4hep::DDG4 ROOT::Core ROOT::Hist)
LINK k4FWCore::k4FWCore
k4FWCore::k4Interface
Gaudi::GaudiAlgLib
Gaudi::GaudiKernel
DD4hep::DDCore
EDM4HEP::edm4hep
FCCDetectors::DetSegmentation
FCCDetectors::DetCommon
DD4hep::DDG4
ROOT::Core
ROOT::Hist
)

install(TARGETS k4RecFCChhCalorimeterPlugins
EXPORT k4RecCalorimeterTargets
Expand Down

0 comments on commit ed761c8

Please sign in to comment.