Skip to content

Commit 56b802f

Browse files
committed
Use the f2008 standard
1 parent a8021e3 commit 56b802f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/UserOverride.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# variables.
88
if (CMAKE_Fortran_COMPILER_ID STREQUAL "GNU")
99
# gfortran
10-
set(common "-std=f2003 -Wall -Wextra -Wimplicit-interface -Werror -fPIC -fmax-errors=1")
10+
set(common "-std=f2008 -Wall -Wextra -Wimplicit-interface -Werror -fPIC -fmax-errors=1")
1111
set(CMAKE_Fortran_FLAGS_RELEASE_INIT "${common} -O3 -march=native -ffast-math -funroll-loops")
1212
set(CMAKE_Fortran_FLAGS_DEBUG_INIT "${common} -g -fbounds-check -fcheck-array-temporaries -fbacktrace")
1313
elseif (CMAKE_Fortran_COMPILER_ID STREQUAL "Intel")

0 commit comments

Comments
 (0)