Make cmake @2.8 build again (#1759)
This commit is contained in:
parent
140f1773cf
commit
8426b65592
@ -88,11 +88,13 @@ 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:"):
|
||||||
|
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
|
||||||
'--no-system-jsoncpp'
|
'--no-system-jsoncpp'
|
||||||
]
|
)
|
||||||
|
|
||||||
if '+ownlibs' in spec:
|
if '+ownlibs' in spec:
|
||||||
# Build and link to the CMake-provided third-party libraries
|
# Build and link to the CMake-provided third-party libraries
|
||||||
|
Loading…
Reference in New Issue
Block a user