diff options
author | Will Dicharry <wdicharry@stellarscience.com> | 2009-08-31 22:18:34 (GMT) |
---|---|---|
committer | Will Dicharry <wdicharry@stellarscience.com> | 2009-08-31 22:18:34 (GMT) |
commit | ea34662053314cd36b76f009d8396c98e46a0383 (patch) | |
tree | 81fc64fc155b1c9655694bbffcea3d3844f367b7 /Modules/FindHDF5.cmake | |
parent | c2ee27c53552286c0b2ef30556e8c76fff86063a (diff) | |
download | CMake-ea34662053314cd36b76f009d8396c98e46a0383.zip CMake-ea34662053314cd36b76f009d8396c98e46a0383.tar.gz CMake-ea34662053314cd36b76f009d8396c98e46a0383.tar.bz2 |
Fixed link order dependence in FindHDF5 module for static link.
Diffstat (limited to 'Modules/FindHDF5.cmake')
-rw-r--r-- | Modules/FindHDF5.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindHDF5.cmake b/Modules/FindHDF5.cmake index 38ce70f..e411d19 100644 --- a/Modules/FindHDF5.cmake +++ b/Modules/FindHDF5.cmake @@ -161,8 +161,8 @@ else() endif() # seed the initial lists of libraries to find with items we know we need - set( HDF5_C_LIBRARY_NAMES_INIT hdf5 hdf5_hl ) - set( HDF5_CXX_LIBRARY_NAMES_INIT ${HDF5_C_LIBRARY_NAMES_INIT} hdf5_cpp ) + set( HDF5_C_LIBRARY_NAMES_INIT hdf5_hl hdf5 ) + set( HDF5_CXX_LIBRARY_NAMES_INIT hdf5_cpp ${HDF5_C_LIBRARY_NAMES_INIT} ) foreach( LANGUAGE ${HDF5_LANGUAGE_BINDINGS} ) if( HDF5_${LANGUAGE}_COMPILE_LINE ) |