FindHDF5: use the target rather than the path
On Windows, the LOCATION
property gets the path to the .dll
rather
than the .lib
which is unsuitable for linking.
On Windows, the LOCATION
property gets the path to the .dll
rather
than the .lib
which is unsuitable for linking.