summaryrefslogtreecommitdiffstats
path: root/config/toolchain/mingw64.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-05-15 18:18:57 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-05-15 18:18:57 (GMT)
commit1be2797e2c438a8c99dc1665460912e8bc2ddcf0 (patch)
tree571b26c5d33550b1301dc15ba2b89e3fd286397c /config/toolchain/mingw64.cmake
parent07728cc6d87a457890ba47beea56d11726184101 (diff)
downloadhdf5-1be2797e2c438a8c99dc1665460912e8bc2ddcf0.zip
hdf5-1be2797e2c438a8c99dc1665460912e8bc2ddcf0.tar.gz
hdf5-1be2797e2c438a8c99dc1665460912e8bc2ddcf0.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)