moab-find-hdf5-default-path.patch 483 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/config/FindHDF5_MOAB.cmake b/config/FindHDF5_MOAB.cmake
index a29375c3..22688942 100644
--- a/config/FindHDF5_MOAB.cmake
+++ b/config/FindHDF5_MOAB.cmake
@@ -11,7 +11,7 @@ set( SZIP_ROOT "" CACHE PATH "Path to search for SZIP header and library files"
 
 # Try to find HDF5 with the CMake finder
 set(ENV{HDF5_ROOT} ${HDF5_ROOT})
-find_package(HDF5 COMPONENTS C HL NO_DEFAULT_PATH)
+find_package(HDF5 COMPONENTS C HL)
 
 if (HDF5_FOUND)
   # Translate to MOAB variables