diff --git a/var/spack/repos/builtin/packages/superlu-dist/package.py b/var/spack/repos/builtin/packages/superlu-dist/package.py index 59337824e5..c6318e079e 100644 --- a/var/spack/repos/builtin/packages/superlu-dist/package.py +++ b/var/spack/repos/builtin/packages/superlu-dist/package.py @@ -54,7 +54,9 @@ def cmake_args(self): '-DUSE_XSDK_DEFAULTS=YES', '-DTPL_PARMETIS_LIBRARIES=%s' % spec['parmetis'].libs.ld_flags + ';' + spec['metis'].libs.ld_flags, - '-DTPL_PARMETIS_INCLUDE_DIRS=%s' % spec['parmetis'].prefix.include + '-DTPL_PARMETIS_INCLUDE_DIRS=%s' % + spec['parmetis'].prefix.include + + ';' + spec['metis'].prefix.include ] if (spec.satisfies('%xl') or spec.satisfies('%xl_r')) and \