Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
T.J. Corona
CMB-SuperBuild
Commits
a443e7db
Commit
a443e7db
authored
Mar 19, 2019
by
T.J. Corona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moab: add patch to MOAB's custom FindHDF5 to work in SB
parent
a007b083
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
projects/moab.cmake
projects/moab.cmake
+3
-0
projects/patches/moab-find-hdf5-default-path.patch
projects/patches/moab-find-hdf5-default-path.patch
+13
-0
No files found.
projects/moab.cmake
View file @
a443e7db
...
...
@@ -25,6 +25,9 @@ superbuild_apply_patch(moab disable-fortran
superbuild_apply_patch
(
moab export-include-dir
"Set MOAB and iMesh targets to export their installed include directories"
)
superbuild_apply_patch
(
moab find-hdf5-default-path
"When using CMake to look for HDF5, use the default path"
)
# By default, linux and os x cmake looks in <INSTALL_DIR>/lib/cmake for
# things. On windows, it does not. So, we set MOAB_DIR to point to the
# location of MOABConfig.cmake for everyone.
...
...
projects/patches/moab-find-hdf5-default-path.patch
0 → 100644
View file @
a443e7db
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment