yaml-cpp: add boost dependency (#2517)
yaml-cpp has a boost dependency, and according to [yaml-cpp page](https://github.com/jbeder/yaml-cpp): yaml-cpp 0.5.3 has been released! This is a bug fix release. It also will be the last release that uses Boost; futures releases will require C++11 instead.
This commit is contained in:
parent
e0f5b12475
commit
bb7b51855a
@ -29,8 +29,7 @@ class YamlCpp(CMakePackage):
|
|||||||
"""A YAML parser and emitter in C++"""
|
"""A YAML parser and emitter in C++"""
|
||||||
|
|
||||||
homepage = "https://github.com/jbeder/yaml-cpp"
|
homepage = "https://github.com/jbeder/yaml-cpp"
|
||||||
url = \
|
url = "https://github.com/jbeder/yaml-cpp/archive/yaml-cpp-0.5.3.tar.gz"
|
||||||
"https://github.com/jbeder/yaml-cpp/archive/yaml-cpp-0.5.3.tar.gz"
|
|
||||||
|
|
||||||
version('0.5.3', '4e47733d98266e46a1a73ae0a72954eb')
|
version('0.5.3', '4e47733d98266e46a1a73ae0a72954eb')
|
||||||
|
|
||||||
@ -39,6 +38,8 @@ class YamlCpp(CMakePackage):
|
|||||||
|
|
||||||
depends_on('cmake', type='build')
|
depends_on('cmake', type='build')
|
||||||
|
|
||||||
|
depends_on('boost', when='@:0.5.3')
|
||||||
|
|
||||||
def cmake_args(self):
|
def cmake_args(self):
|
||||||
spec = self.spec
|
spec = self.spec
|
||||||
options = []
|
options = []
|
||||||
|
Loading…
Reference in New Issue
Block a user