From 3024c0096a88339116dac2c433dddde1ece24053 Mon Sep 17 00:00:00 2001 From: Andrey Prokopenko Date: Thu, 1 Dec 2016 20:51:00 -0500 Subject: [PATCH] cmake: update the requirements for --no-system-jsoncpp option (#2312) The option appeared in CMake 3.2 (specifically, in 3.2.0-rc2, see https://cmake.org/pipermail/cmake-developers/2015-February/024552.html). --- var/spack/repos/builtin/packages/cmake/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/cmake/package.py b/var/spack/repos/builtin/packages/cmake/package.py index 93bdb72050..edb3decf60 100644 --- a/var/spack/repos/builtin/packages/cmake/package.py +++ b/var/spack/repos/builtin/packages/cmake/package.py @@ -89,7 +89,7 @@ def install(self, spec, prefix): options = [ '--prefix={0}'.format(prefix), '--parallel={0}'.format(make_jobs)] - if spec.satisfies("@3:"): + if spec.satisfies("@3.2:"): options.append( # jsoncpp requires CMake to build # use CMake-provided library to avoid circular dependency