nalu package: update dependency (#7245)

Yaml-cpp hasn't tagged a release in over 2 years, yet they have fixed
many things and now have the ability to use find_package in CMake.
Since we use this feature in Nalu, we require the latest yaml-cpp
until they tag a new release. I have also deprecated the now
unnecessary ENABLE_INSTALL flag.
This commit is contained in:
Jon Rood 2018-02-22 15:14:39 -07:00 committed by scheibelp
parent c4fcc245e2
commit d7b826a0aa

View File

@ -48,7 +48,7 @@ class Nalu(CMakePackage):
git='https://github.com/NaluCFD/Nalu.git', branch='master')
# Currently Nalu only builds with certain libraries statically
depends_on('yaml-cpp+pic~shared@0.5.3:')
depends_on('yaml-cpp+pic~shared@develop')
depends_on('trilinos~shared+exodus+tpetra+muelu+belos+ifpack2+amesos2+zoltan+stk+boost~superlu-dist+superlu+hdf5+zlib+pnetcdf+shards@master,12.12.1:')
depends_on('openfast+cxx', when='+openfast')
depends_on('tioga', when='+tioga')
@ -60,8 +60,7 @@ def cmake_args(self):
options.extend([
'-DTrilinos_DIR:PATH=%s' % spec['trilinos'].prefix,
'-DYAML_DIR:PATH=%s' % spec['yaml-cpp'].prefix,
'-DENABLE_INSTALL:BOOL=ON'
'-DYAML_DIR:PATH=%s' % spec['yaml-cpp'].prefix
])
if '+openfast' in spec: