Flann is using a function to find HDF5. Is it necessary?
https://github.com/mariusmuja/flann/blob/master/CMakeLists.txt
https://github.com/mariusmuja/flann/blob/b2477a9d96f4f5212e529f00bc5753b718803d57/cmake/flann_utils.cmake