summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/amrex/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/amrex/package.py b/var/spack/repos/builtin/packages/amrex/package.py
index 47967e88c2..0d58316418 100644
--- a/var/spack/repos/builtin/packages/amrex/package.py
+++ b/var/spack/repos/builtin/packages/amrex/package.py
@@ -48,7 +48,8 @@ class Amrex(CMakePackage):
# Build dependencies
depends_on('mpi', when='+mpi')
depends_on('python@2.7:', type='build')
- depends_on('cmake@3.5:', type='build')
+ depends_on('cmake@3.5:', type='build', when='@:18.10.99')
+ depends_on('cmake@3.13:', type='build', when='@18.11:')
conflicts('%clang')
def cmake_is_on(self, option):