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).
This commit is contained in:
Andrey Prokopenko 2016-12-01 20:51:00 -05:00 committed by becker33
parent c01f78e515
commit 3024c0096a

View file

@ -89,7 +89,7 @@ def install(self, spec, prefix):
options = [ options = [
'--prefix={0}'.format(prefix), '--prefix={0}'.format(prefix),
'--parallel={0}'.format(make_jobs)] '--parallel={0}'.format(make_jobs)]
if spec.satisfies("@3:"): if spec.satisfies("@3.2:"):
options.append( options.append(
# jsoncpp requires CMake to build # jsoncpp requires CMake to build
# use CMake-provided library to avoid circular dependency # use CMake-provided library to avoid circular dependency