flann: fix missing dependencies (#14022)

This commit is contained in:
Adam J. Stewart 2019-12-07 14:01:39 -06:00 committed by GitHub
parent 969bc948b5
commit 31b45d40d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,13 +68,13 @@ def url_for_version(self, version):
depends_on("boost+mpi+system+serialization+thread", when="+mpi ^hdf5+mpi")
# Doc deps
depends_on("latex", when="+doc")
depends_on("texlive", when="+doc")
# Example uses hdf5.
depends_on("hdf5", when="+examples")
depends_on('hdf5', type='test')
depends_on('gtest', type='test')
depends_on('googletest', type='test')
# See: https://github.com/mariusmuja/flann/issues/369
patch('linux-gcc-cmakev3.11-plus.patch', when='%gcc^cmake@3.11:')