summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/elfio/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/elfio/package.py b/var/spack/repos/builtin/packages/elfio/package.py
index 72a937552a..84b45378a5 100644
--- a/var/spack/repos/builtin/packages/elfio/package.py
+++ b/var/spack/repos/builtin/packages/elfio/package.py
@@ -21,7 +21,9 @@ class Elfio(CMakePackage):
version('3.8', sha256='9553ce2b8d8aa2fb43f0e9be9bcbd10cd52f40b385110ea54173889c982f9ac4')
version('3.7', sha256='0af2452214c32639f8dbe520b31e03802be184581ab5ad65e99ed745274dbd5d')
- depends_on('cmake@3.10:', type='build')
+ # note, 3.10 is required on master it seems
+ depends_on('cmake@3.12:', when='@3.8:', type='build')
+ depends_on('cmake@3.12.4:', when='@3.7', type='build')
def cmake_args(self):
return [