summaryrefslogtreecommitdiffstats
path: root/Modules/FindHDF5.cmake
diff options
context:
space:
mode:
authorWill Dicharry <wdicharry@stellarscience.com>2009-08-31 14:32:08 (GMT)
committerWill Dicharry <wdicharry@stellarscience.com>2009-08-31 14:32:08 (GMT)
commit71ff183b5b0c9d497d2b0c239223579ba605a731 (patch)
treeea61c2d9e67af551a283e24e94b4829d197e1815 /Modules/FindHDF5.cmake
parent59b34a6a1a3242a9224660189835abc545a5a760 (diff)
downloadCMake-71ff183b5b0c9d497d2b0c239223579ba605a731.zip
CMake-71ff183b5b0c9d497d2b0c239223579ba605a731.tar.gz
CMake-71ff183b5b0c9d497d2b0c239223579ba605a731.tar.bz2
In FindHDF5, added C library names to CXX search libraries.
Diffstat (limited to 'Modules/FindHDF5.cmake')
-rw-r--r--Modules/FindHDF5.cmake2
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 )