Skip to content
Snippets Groups Projects
Commit e1d9dc92 authored by Frank Siegert's avatar Frank Siegert
Browse files

Update Generators/Sherpa_i/CMakeLists.txt from master

This has been discussed in atlas/atlasexternals!278


Former-commit-id: c5efcea96e35090a83ae3f4f1c0bcb878c9d5a8f
parent c9b9386f
No related branches found
No related tags found
Loading
......@@ -6,29 +6,27 @@
atlas_subdir( Sherpa_i )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
GaudiKernel
Generators/GeneratorModules
Generators/TruthUtils
PRIVATE
Control/AthenaBaseComps
Control/AthenaKernel )
atlas_depends_on_subdirs(
PUBLIC
GaudiKernel
Generators/GeneratorModules
Generators/TruthUtils
PRIVATE
Control/AthenaBaseComps
Control/AthenaKernel )
# External dependencies:
find_package( CLHEP )
find_package( HepMC )
find_package( Sherpa )
find_package( Sherpa COMPONENTS SherpaTools SherpaInitialization )
# Remove the --as-needed linker flags:
atlas_disable_as_needed()
# Component(s) in the package:
atlas_add_component( Sherpa_i
src/*.cxx
src/components/*.cxx
INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} ${SHERPA_INCLUDE_DIRS}
LINK_LIBRARIES ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} ${SHERPA_LIBRARIES} GaudiKernel GeneratorModulesLib TruthUtils AthenaBaseComps AthenaKernel )
# Install files from the package:
atlas_install_headers( Sherpa_i )
Sherpa_i/*.h src/*.cxx src/components/*.cxx
INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS}
${SHERPA_INCLUDE_DIRS}
LINK_LIBRARIES ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} ${SHERPA_LIBRARIES}
GaudiKernel GeneratorModulesLib TruthUtils AthenaBaseComps AthenaKernel )
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