summarylogtreecommitdiffstats
path: root/toolchain-mingw.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain-mingw.cmake')
-rw-r--r--toolchain-mingw.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/toolchain-mingw.cmake b/toolchain-mingw.cmake
index 529025f36240..8d9e39b44339 100644
--- a/toolchain-mingw.cmake
+++ b/toolchain-mingw.cmake
@@ -30,3 +30,6 @@ set (CMAKE_Fortran_COMPILER @TRIPLE@-gfortran)
set (CMAKE_AR:FILEPATH @TRIPLE@-ar)
set (CMAKE_RANLIB:FILEPATH @TRIPLE@-ranlib)
+# properly detect hdf5 includes from cmake 3.8
+set (HDF5_ROOT /usr/@TRIPLE@/)
+