diff options
author | Brad King <brad.king@kitware.com> | 2013-09-19 17:29:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-09-19 17:35:01 (GMT) |
commit | 0f05961f03b2735b32e9da54b32287fb3631e76b (patch) | |
tree | 370ecb3423ea1afd0a5a15f539889eb5630de0d9 /CTestCustom.cmake.in | |
parent | 5e2b499485d9a418b2ccb191f3d33b5ee34dbb1f (diff) | |
download | CMake-0f05961f03b2735b32e9da54b32287fb3631e76b.zip CMake-0f05961f03b2735b32e9da54b32287fb3631e76b.tar.gz CMake-0f05961f03b2735b32e9da54b32287fb3631e76b.tar.bz2 |
FindHDF5: Fix regression in per-configuration library selection
When FindHDF5 was first added in commit e6734068 (Add HDF5 find
module..., 2009-08-24) it contained a workaround for a bug in
SelectLibraryConfigurations that did not transform lists correctly.
That bug was fixed by commit 5797512c (SelectLibraryConfiguration:
generate correct output when input vars are lists, 2012-07-28). Then
refactoring in commit 04d4dc33 (SelectLibraryConfigurations: Use
-NOTFOUND instead of copying the vars, 2013-07-08) changed undocumented
behavior on which the original workaround relied. The result puts
entries like HDF5_hdf5_LIBRARY_DEBUG-NOTFOUND in HDF5_LIBRARIES.
Fix this by dropping the original workaround since the underlying issue
has been fixed anyway. Use the HDF5_${LIB}_LIBRARY selected by the call
to select_library_configurations directly.
Diffstat (limited to 'CTestCustom.cmake.in')
0 files changed, 0 insertions, 0 deletions