In FindHDF5, added C library names to CXX search libraries.

This commit is contained in:
Will Dicharry 2009-08-31 10:32:08 -04:00
parent 59b34a6a1a
commit 71ff183b5b
1 changed files with 1 additions and 1 deletions

View File

@ -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 )