diff options
-rw-r--r-- | var/spack/repos/builtin/packages/pfunit/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/pfunit/package.py b/var/spack/repos/builtin/packages/pfunit/package.py index 6bc06e6fe9..418701241b 100644 --- a/var/spack/repos/builtin/packages/pfunit/package.py +++ b/var/spack/repos/builtin/packages/pfunit/package.py @@ -57,7 +57,7 @@ class Pfunit(CMakePackage): if spec.satisfies('+mpi'): args.extend(['-DMPI=YES', '-DMPI_USE_MPIEXEC=YES', - '-DMPI_Fortran_COMPILER=%s' % spec['mpi'].mpifc]) + '-DCMAKE_Fortran_COMPILER=%s' % spec['mpi'].mpifc]) else: args.append('-DMPI=NO') return args |