summaryrefslogtreecommitdiffstats
path: root/config/cmake/HDFFortranCompilerFlags.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-07-02 18:52:03 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-07-02 18:52:03 (GMT)
commit88e8597cdef826c1087e4ec1383657a91dcb2a43 (patch)
tree3f8c84ae38b72dc91fcc7ee82ab78b708ac0bf28 /config/cmake/HDFFortranCompilerFlags.cmake
parentd05b58b5d4806d694f16d0fc698c5e1c057a411b (diff)
downloadhdf5-88e8597cdef826c1087e4ec1383657a91dcb2a43.zip
hdf5-88e8597cdef826c1087e4ec1383657a91dcb2a43.tar.gz
hdf5-88e8597cdef826c1087e4ec1383657a91dcb2a43.tar.bz2
Small changes discovered with mingw and windows defines moved
Diffstat (limited to 'config/cmake/HDFFortranCompilerFlags.cmake')
-rw-r--r--config/cmake/HDFFortranCompilerFlags.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/cmake/HDFFortranCompilerFlags.cmake b/config/cmake/HDFFortranCompilerFlags.cmake
index 15edaa8..2bbb35d 100644
--- a/config/cmake/HDFFortranCompilerFlags.cmake
+++ b/config/cmake/HDFFortranCompilerFlags.cmake
@@ -48,7 +48,7 @@ endif ()
# CDash is configured to only allow 3000 warnings, so
# break into groups (from the config/gnu-flags file)
#-----------------------------------------------------------------------------
-if (NOT MSVC)
+if (NOT MSVC AND NOT MINGW)
# General flags
if (CMAKE_Fortran_COMPILER_ID STREQUAL "Intel")
ADD_H5_FLAGS (HDF5_CMAKE_Fortran_FLAGS "${HDF5_SOURCE_DIR}/config/intel-warnings/ifort-general")