sherpa: only enable_or_disable in v3: (#41162)
This commit is contained in:
parent
55d2ee9160
commit
df1111c24a
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ def configure_args(self):
|
|||
args.extend(self.enable_or_disable("pythia"))
|
||||
hepmc_root = lambda x: self.spec["hepmc"].prefix
|
||||
args.extend(self.enable_or_disable("hepmc2", activation_value=hepmc_root))
|
||||
if self.spec.satisfies("@2.2.13:"):
|
||||
if self.spec.satisfies("@3:"):
|
||||
args.extend(self.enable_or_disable("hepmc3", activation_value="prefix"))
|
||||
args.extend(self.enable_or_disable("rivet", activation_value="prefix"))
|
||||
args.extend(self.enable_or_disable("lhapdf", activation_value="prefix"))
|
||||
|
|
Loading…
Reference in a new issue