Commit 5201a306 authored by Ben Boeckel's avatar Ben Boeckel Committed by Brad King

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.
parent 35ad12f9
Pipeline #42855 passed with stage