diff options
author | Mouginot B <mouginot.baptiste@gmail.com> | 2018-12-04 01:03:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-12-06 15:43:29 (GMT) |
commit | 4e174e0960e51fa1b83588d130e435bc6c7af8cc (patch) | |
tree | 253e3f1f122a071e912e505592840b60cb89f6d9 /Modules/FindHDF5.cmake | |
parent | 985a57a1c1ca6989524805bb3e91a222906f88ca (diff) | |
download | CMake-4e174e0960e51fa1b83588d130e435bc6c7af8cc.zip CMake-4e174e0960e51fa1b83588d130e435bc6c7af8cc.tar.gz CMake-4e174e0960e51fa1b83588d130e435bc6c7af8cc.tar.bz2 |
FindHDF5: Fix search for static hdf5_hl on Windows
The change in commit v3.10.0-rc1~411^2~1 (FindHDF5: Add support for
HDF5_USE_STATIC_LIBRARIES on Windows, 2017-07-03) accidentally left
out a `lib` prefix on the static library name of `hdf5_hl`. It was
done correctly already for the main `hdf5` library.
Diffstat (limited to 'Modules/FindHDF5.cmake')
-rw-r--r-- | Modules/FindHDF5.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindHDF5.cmake b/Modules/FindHDF5.cmake index e36767a..2772b7d 100644 --- a/Modules/FindHDF5.cmake +++ b/Modules/FindHDF5.cmake @@ -818,7 +818,7 @@ if( NOT HDF5_FOUND ) set( THIS_LIBRARY_SEARCH_DEBUG lib${LIB}d.a lib${LIB}_debug.a lib${LIB}d lib${LIB}_D lib${LIB}_debug lib${LIB}d-static.a lib${LIB}_debug-static.a lib${LIB}d-static lib${LIB}_D-static lib${LIB}_debug-static ) - set( THIS_LIBRARY_SEARCH_RELEASE lib${LIB}.a ${LIB} lib${LIB}-static.a lib${LIB}-static) + set( THIS_LIBRARY_SEARCH_RELEASE lib${LIB}.a lib${LIB} lib${LIB}-static.a lib${LIB}-static) else() set( THIS_LIBRARY_SEARCH_DEBUG ${LIB}d ${LIB}_D ${LIB}_debug ${LIB}d-shared ${LIB}_D-shared ${LIB}_debug-shared) set( THIS_LIBRARY_SEARCH_RELEASE ${LIB} ${LIB}-shared) |