diff options
author | Brad King <brad.king@kitware.com> | 2017-02-02 14:21:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-02-03 14:12:05 (GMT) |
commit | 4908969f578ded9d87f244bd8ada65ba0c51cf28 (patch) | |
tree | 2937cfa3cc56833e0dd1bde9d9f9cdcf29286cf9 /.hooks-config | |
parent | 77f6d22ad1f1b461297a463eb5f40fbb0d0825aa (diff) | |
download | CMake-4908969f578ded9d87f244bd8ada65ba0c51cf28.zip CMake-4908969f578ded9d87f244bd8ada65ba0c51cf28.tar.gz CMake-4908969f578ded9d87f244bd8ada65ba0c51cf28.tar.bz2 |
FindHDF5: Fix search with HDF5_ROOT
Refactoring in commit v3.6.0-rc1~72^2 (HDF5: Rework component searching
to correctly find HL for all bindings, 2016-05-12) turned off a large
amount of its logic when HDF5_ROOT is set. This caused use of the hdf5
compiler wrapper to extract all needed libraries (e.g. z, dl as
dependencies of hdf5 static libraries) to be skipped when using
HDF5_ROOT.
Fix the search logic to honor HDF5_ROOT in all code paths. Restrict the
search for hdf5-specific components to this root, but allow external
libraries to be found anywhere.
Fixes: #16566
Diffstat (limited to '.hooks-config')
0 files changed, 0 insertions, 0 deletions