summaryrefslogtreecommitdiffstats
path: root/config/cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-04-06 15:34:16 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-04-06 15:34:16 (GMT)
commita3c57c730cd5109eec34fd63fa560ba6437e3441 (patch)
tree548da5135a5b36e5abb357038238669be081894f /config/cmake
parent3247291b1e9e8eb4261c8be7d0b6a3bc17870320 (diff)
downloadhdf5-a3c57c730cd5109eec34fd63fa560ba6437e3441.zip
hdf5-a3c57c730cd5109eec34fd63fa560ba6437e3441.tar.gz
hdf5-a3c57c730cd5109eec34fd63fa560ba6437e3441.tar.bz2
Update intel flags
Diffstat (limited to 'config/cmake')
-rw-r--r--config/cmake/HDFFortranCompilerFlags.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/cmake/HDFFortranCompilerFlags.cmake b/config/cmake/HDFFortranCompilerFlags.cmake
index a18d830..f31eba5 100644
--- a/config/cmake/HDFFortranCompilerFlags.cmake
+++ b/config/cmake/HDFFortranCompilerFlags.cmake
@@ -70,7 +70,7 @@ if (NOT MSVC)
# General flags
if (CMAKE_Fortran_COMPILER_ID STREQUAL "Intel")
ADD_H5_FLAGS (HDF5_CMAKE_Fortran_FLAGS "${HDF5_SOURCE_DIR}/config/intel-warnings/ifort-general")
- list (APPEND HDF5_CMAKE_Fortran_FLAGS "-stand:f08" "-free")
+ list (APPEND HDF5_CMAKE_Fortran_FLAGS "-stand:f03" "-free")
elseif (CMAKE_Fortran_COMPILER_ID STREQUAL "GNU")
ADD_H5_FLAGS (HDF5_CMAKE_Fortran_FLAGS "${HDF5_SOURCE_DIR}/config/gnu-warnings/gfort-general")
list (APPEND HDF5_CMAKE_Fortran_FLAGS "-ffree-form" "-std=f2008" "-fimplicit-none")
@@ -136,7 +136,7 @@ if (NOT MSVC)
else ()
if (CMAKE_Fortran_COMPILER_ID STREQUAL "Intel")
#ADD_H5_FLAGS (HDF5_CMAKE_Fortran_FLAGS "${HDF5_SOURCE_DIR}/config/intel-warnings/win-ifort-general")
- list (APPEND HDF5_CMAKE_Fortran_FLAGS "/warn:all" "/stand:f08" "/free")
+ list (APPEND HDF5_CMAKE_Fortran_FLAGS "/warn:all" "/stand:f03" "/free")
endif ()
endif ()