summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/netcdf-cxx4/package.py1
1 files changed, 1 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 f49c5d8cce..66b294992f 100644
--- a/var/spack/repos/builtin/packages/netcdf-cxx4/package.py
+++ b/var/spack/repos/builtin/packages/netcdf-cxx4/package.py
@@ -32,6 +32,7 @@ class NetcdfCxx4(AutotoolsPackage):
depends_on('autoconf', type='build')
depends_on('libtool', type='build')
depends_on('m4', type='build')
+ depends_on('doxygen', when='+doxygen', type='build')
conflicts('~shared', when='~static')