FindHDF5 always finds 64-bit libraries on 64/32 multilib systems
find_package(HDF5)
would find 32- or 64-bit libraries as appropriate on a multilib system in cmake-3.7.2, but always finds 64-bit libraries in 3.8.2 (and on current master). By bisecting I've tracked this down to 77f6d22a, which (probably accidentally), changed the find_libraries
calls from taking a PATHS argument to taking a HINTS argument.
Changing the HINTS back to PATHS on master allows finding 32-bit libraries again, although I am not sure which type of argument ${HDF5_ROOT}
should be.