sherpa: +hepmc3root only when +root (#48827)

* sherpa: +hepmc3root only when +root

* sherpa: fix style
This commit is contained in:
Wouter Deconinck 2025-02-06 05:33:27 -06:00 committed by GitHub
parent 31312a379f
commit 4b2f5638f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,7 +53,12 @@ class Sherpa(CMakePackage, AutotoolsPackage):
variant("python", default=False, description="Enable Python API")
variant("hepmc2", default=True, when="@:2", description="Enable HepMC (version 2.x) support")
variant("hepmc3", default=True, description="Enable HepMC (version 3.x) support")
variant("hepmc3root", default=False, description="Enable HepMC (version 3.1+) ROOT support")
variant(
"hepmc3root",
default=False,
description="Enable HepMC (version 3.1+) ROOT support",
when="+root",
)
variant("rivet", default=False, description="Enable Rivet support")
variant("fastjet", default=True, when="@:2", description="Enable FASTJET")
variant("openloops", default=False, description="Enable OpenLoops")