diff --git a/var/spack/repos/builtin/packages/cnpy/package.py b/var/spack/repos/builtin/packages/cnpy/package.py index 4d9d0c34f5..c9602ac168 100644 --- a/var/spack/repos/builtin/packages/cnpy/package.py +++ b/var/spack/repos/builtin/packages/cnpy/package.py @@ -16,6 +16,8 @@ class Cnpy(CMakePackage): version('master', branch='master') + depends_on('zlib', type='link') + def cmake_args(self): args = [] if sys.platform == 'darwin':