diff options
author | Elizabeth Fischer <rpf2116@columbia.edu> | 2018-05-21 17:23:35 -0400 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2018-05-21 16:23:35 -0500 |
commit | 90d36016efd67b33e3f7142b156a4447e6265a70 (patch) | |
tree | 96d6081fe640cda9d3eca156981a7ecddb70608f /var/spack/repos/builtin/packages/netcdf-cxx4/package.py | |
parent | 646771300dce1c3a46a9c24813a14c89018d560c (diff) | |
download | spack-90d36016efd67b33e3f7142b156a4447e6265a70.tar.gz spack-90d36016efd67b33e3f7142b156a4447e6265a70.tar.bz2 spack-90d36016efd67b33e3f7142b156a4447e6265a70.tar.xz spack-90d36016efd67b33e3f7142b156a4447e6265a70.zip |
netcdf-cxx4: Update to use CPPFLAGS (#8148)
* Fix bug; don't know why this ever worked in the first place.
* Add fix to netcdf-fortran too; flake8
* Simplify configure_args()
* netcdf-fortran: simplify that too
Diffstat (limited to 'var/spack/repos/builtin/packages/netcdf-cxx4/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/netcdf-cxx4/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/netcdf-cxx4/package.py b/var/spack/repos/builtin/packages/netcdf-cxx4/package.py index 1b308d6ada..4b586d9a14 100644 --- a/var/spack/repos/builtin/packages/netcdf-cxx4/package.py +++ b/var/spack/repos/builtin/packages/netcdf-cxx4/package.py @@ -41,6 +41,9 @@ class NetcdfCxx4(AutotoolsPackage): force_autoreconf = True + def configure_args(self): + return ['CPPFLAGS=-I' + self.spec['netcdf'].prefix.include] + @property def libs(self): shared = True |