rivet: hepmc=3: Fix prefix of --with-hepmc3 (#27814)

This commit is contained in:
Wouter Deconinck 2021-12-06 03:42:54 -06:00 committed by GitHub
parent 235edd0742
commit 2bb075c850
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,7 +168,7 @@ def configure_args(self):
if self.spec.variants['hepmc'].value == '2':
args += ['--with-hepmc=' + self.spec['hepmc'].prefix]
else:
args += ['--with-hepmc3=' + self.spec['hepmc'].prefix]
args += ['--with-hepmc3=' + self.spec['hepmc3'].prefix]
if self.spec.satisfies('@:1'):
args += ['--with-boost-incpath=' + self.spec['boost'].includes]