diff --git a/var/spack/repos/builtin/packages/lerc/package.py b/var/spack/repos/builtin/packages/lerc/package.py index 89e92147dc..7fc4c8a4a8 100644 --- a/var/spack/repos/builtin/packages/lerc/package.py +++ b/var/spack/repos/builtin/packages/lerc/package.py @@ -17,9 +17,11 @@ class Lerc(CMakePackage): homepage = "https://github.com/Esri/lerc" url = "https://github.com/Esri/lerc/archive/refs/tags/v3.0.tar.gz" + version("4.0.0", sha256="91431c2b16d0e3de6cbaea188603359f87caed08259a645fd5a3805784ee30a0") version("3.0", sha256="8c0148f5c22d823eff7b2c999b0781f8095e49a7d3195f13c68c5541dd5740a1") depends_on("cmake@3.11:", type="build") + depends_on("cmake@3.12:", type="build", when="@4.0.0:") @property def libs(self):