summarylogtreecommitdiffstats
path: root/hdf5_cpp.patch
blob: b1c6f6d0adfa1c73884e099a203ad26cb34c7903 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/cmake/modules/FindHDF5.cmake
+++ b/cmake/modules/FindHDF5.cmake
@@ -22,7 +22,7 @@ if(NOT HDF5_INCLUDEDIR)
   endif()
 
   if(HDF5_INCLUDEDIR AND HDF5_LIBRARIES)
-    FIND_LIBRARY(HDF5_LIBRARY_CPP hdf5_c++
+    FIND_LIBRARY(HDF5_LIBRARY_CPP hdf5_cpp
       HINTS ${HDF5_LIBRARY_DIRS})
     set(HDF5_LIBRARY_C -L${HDF5_LIBRARY_DIRS} ${HDF5_LIBRARIES} CACHE STRING "" FORCE)
   else()