hdf-eos2: add support for hdf+szip (#23346)

This commit is contained in:
Tom Payerle 2021-05-04 04:07:29 -04:00 committed by GitHub
parent acdcdcee75
commit da2dbac794
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,10 +86,13 @@ def configure_args(self):
# Provide config args for dependencies
extra_args.append('--with-hdf4={0}'.format(self.spec['hdf'].prefix))
if self.spec['jpeg']:
if 'jpeg' in self.spec:
extra_args.append('--with-jpeg={0}'.format(
self.spec['jpeg'].prefix))
if self.spec['zlib']:
if 'libszip' in self.spec:
extra_args.append('--with-szlib={0}'.format(
self.spec['libszip'].prefix))
if 'zlib' in self.spec:
extra_args.append('--with-zlib={0}'.format(
self.spec['zlib'].prefix))