thepeg: Add zlib dependency (#29370)
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
This commit is contained in:
parent
811abf5d00
commit
2111cf8044
1 changed files with 2 additions and 0 deletions
|
@ -71,6 +71,7 @@ class Thepeg(AutotoolsPackage):
|
|||
depends_on('automake', type='build')
|
||||
depends_on('libtool', type='build')
|
||||
depends_on('m4', type='build')
|
||||
depends_on('zlib')
|
||||
|
||||
variant('hepmc', default='2', values=('2', '3'), description='HepMC interface to build ')
|
||||
|
||||
|
@ -78,6 +79,7 @@ class Thepeg(AutotoolsPackage):
|
|||
|
||||
def configure_args(self):
|
||||
args = ['--with-gsl=' + self.spec['gsl'].prefix, '--without-javagui']
|
||||
args += ['--with-zlib=' + self.spec['zlib'].prefix]
|
||||
|
||||
if self.spec.satisfies('@:1.8'):
|
||||
args += ['--with-LHAPDF=' + self.spec['lhapdf'].prefix]
|
||||
|
|
Loading…
Reference in a new issue