summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/laghos/package.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/laghos/package.py b/var/spack/repos/builtin/packages/laghos/package.py
index e14f0591a1..3b6e23307c 100644
--- a/var/spack/repos/builtin/packages/laghos/package.py
+++ b/var/spack/repos/builtin/packages/laghos/package.py
@@ -53,6 +53,7 @@ class Laghos(MakefilePackage):
'share/mfem/config.mk'))
targets.append('TEST_MK=%s' % join_path(spec['mfem'].prefix,
'share/mfem/test.mk'))
+ targets.append('CXX=%s' % spec['mpi'].mpicxx)
return targets