diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/gromacs/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/gromacs/package.py b/var/spack/repos/builtin/packages/gromacs/package.py index 037b25721b..2175d7a611 100644 --- a/var/spack/repos/builtin/packages/gromacs/package.py +++ b/var/spack/repos/builtin/packages/gromacs/package.py @@ -91,6 +91,9 @@ class Gromacs(CMakePackage): options = [] + if self.spec.satisfies('@2020:'): + options.append('-DGMX_INSTALL_LEGACY_API=ON') + if '+mpi' in self.spec: options.append('-DGMX_MPI:BOOL=ON') |