diff --git a/var/spack/repos/builtin/packages/trilinos/package.py b/var/spack/repos/builtin/packages/trilinos/package.py index 9ece60a57f..65b91b2831 100644 --- a/var/spack/repos/builtin/packages/trilinos/package.py +++ b/var/spack/repos/builtin/packages/trilinos/package.py @@ -451,8 +451,9 @@ def cmake_args(self): '-DParMETIS_LIBRARY_DIRS=%s;%s' % ( spec['parmetis'].prefix.lib, spec['metis'].prefix.lib), '-DParMETIS_LIBRARY_NAMES=parmetis;metis', - '-DTPL_ParMETIS_INCLUDE_DIRS=%s' % ( - spec['parmetis'].prefix.include) + '-DTPL_ParMETIS_INCLUDE_DIRS=%s;%s' % ( + spec['parmetis'].prefix.include, + spec['metis'].prefix.include) ]) else: options.extend([