Make cmake @2.8 build again (#1759)

This commit is contained in:
Erik Schnetter 2016-09-20 05:14:37 -04:00 committed by Todd Gamblin
parent 140f1773cf
commit 8426b65592

View File

@ -88,11 +88,13 @@ def install(self, spec, prefix):
options = [
'--prefix={0}'.format(prefix),
'--parallel={0}'.format(make_jobs),
'--parallel={0}'.format(make_jobs)]
if spec.satisfies("@3:"):
options.append(
# jsoncpp requires CMake to build
# use CMake-provided library to avoid circular dependency
'--no-system-jsoncpp'
]
)
if '+ownlibs' in spec:
# Build and link to the CMake-provided third-party libraries