summaryrefslogtreecommitdiffstats
path: root/config/toolchain
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-05-15 18:05:22 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-05-15 18:06:01 (GMT)
commitd14b87bfc8e86e5a818a90da1731155e5f57a92c (patch)
treea69c5f6c86c083d11f864dfa1eeb5283eb1415fc /config/toolchain
parent26780517e6e55f8f3d049a148251b0811332e01f (diff)
downloadhdf5-d14b87bfc8e86e5a818a90da1731155e5f57a92c.zip
hdf5-d14b87bfc8e86e5a818a90da1731155e5f57a92c.tar.gz
hdf5-d14b87bfc8e86e5a818a90da1731155e5f57a92c.tar.bz2
Correct path for mingw
Diffstat (limited to 'config/toolchain')
-rw-r--r--config/toolchain/mingw64.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/toolchain/mingw64.cmake b/config/toolchain/mingw64.cmake
index fde5e38..4a3e295 100644
--- a/config/toolchain/mingw64.cmake
+++ b/config/toolchain/mingw64.cmake
@@ -4,11 +4,11 @@ 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/local/${TOOLCHAIN_PREFIX})
+set (CMAKE_FIND_ROOT_PATH /usr/${TOOLCHAIN_PREFIX} /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)
set (CMAKE_CROSSCOMPILING_EMULATOR wine64)
-include_directories(/usr/local/${TOOLCHAIN_PREFIX}/include)
+include_directories(/usr/${TOOLCHAIN_PREFIX}/include)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS On CACHE BOOL "Export windows symbols")