summaryrefslogtreecommitdiffstats
path: root/config/toolchain/mingw64.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-05-15 18:21:43 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-05-15 18:21:43 (GMT)
commitad8f45d267a4ffb0696a4e30b590fa11ef68d06f (patch)
tree41da9bbb35e95ed6e612fa8651fd885a980b8cff /config/toolchain/mingw64.cmake
parentd14b87bfc8e86e5a818a90da1731155e5f57a92c (diff)
downloadhdf5-ad8f45d267a4ffb0696a4e30b590fa11ef68d06f.zip
hdf5-ad8f45d267a4ffb0696a4e30b590fa11ef68d06f.tar.gz
hdf5-ad8f45d267a4ffb0696a4e30b590fa11ef68d06f.tar.bz2
Correct mingw paths
Diffstat (limited to 'config/toolchain/mingw64.cmake')
-rw-r--r--config/toolchain/mingw64.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/toolchain/mingw64.cmake b/config/toolchain/mingw64.cmake
index 4a3e295..1830488 100644
--- a/config/toolchain/mingw64.cmake
+++ b/config/toolchain/mingw64.cmake
@@ -4,7 +4,7 @@ set (CMAKE_C_COMPILER ${TOOLCHAIN_PREFIX}-gcc)
set (CMAKE_CXX_COMPILER ${TOOLCHAIN_PREFIX}-g++)
set (CMAKE_RC_COMPILER ${TOOLCHAIN_PREFIX}-windres)
set (CMAKE_Fortran_COMPILER ${TOOLCHAIN_PREFIX}-gfortran)
-set (CMAKE_FIND_ROOT_PATH /usr/${TOOLCHAIN_PREFIX} /usr/${TOOLCHAIN_PREFIX})
+set (CMAKE_FIND_ROOT_PATH /usr/${TOOLCHAIN_PREFIX})
set (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)