diff options
-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 95a003c..38ce70f 100644 --- a/Modules/FindHDF5.cmake +++ b/Modules/FindHDF5.cmake @@ -162,7 +162,7 @@ else() # 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_cpp ) + set( HDF5_CXX_LIBRARY_NAMES_INIT ${HDF5_C_LIBRARY_NAMES_INIT} hdf5_cpp ) foreach( LANGUAGE ${HDF5_LANGUAGE_BINDINGS} ) if( HDF5_${LANGUAGE}_COMPILE_LINE ) |