@@ -18,20 +18,20 @@ foreach(F77FILE ${F77SRCS})
18
18
if (${_FOUND_LEN72} GREATER -1)
19
19
set_source_files_properties (${F77FILE} PROPERTIES COMPILE_FLAGS /4L72)
20
20
else ()
21
- set_source_files_properties (${F77FILE} PROPERTIES COMPILE_FLAGS /4L79 )
21
+ set_source_files_properties (${F77FILE} PROPERTIES COMPILE_FLAGS /4L80 )
22
22
endif ()
23
23
else ()
24
24
if (${_FOUND_LEN72} GREATER -1)
25
25
set_source_files_properties (${F77FILE} PROPERTIES COMPILE_FLAGS -72)
26
26
else ()
27
- set_source_files_properties (${F77FILE} PROPERTIES COMPILE_FLAGS -79 )
27
+ set_source_files_properties (${F77FILE} PROPERTIES COMPILE_FLAGS -80 )
28
28
endif ()
29
29
endif ()
30
30
else () # gfortran tested only
31
31
if (${_FOUND_LEN72} GREATER -1)
32
32
set_source_files_properties (${F77FILE} PROPERTIES COMPILE_FLAGS -ffixed-line-length -72)
33
33
else ()
34
- set_source_files_properties (${F77FILE} PROPERTIES COMPILE_FLAGS -ffixed-line-length -79 )
34
+ set_source_files_properties (${F77FILE} PROPERTIES COMPILE_FLAGS -ffixed-line-length -80 )
35
35
endif ()
36
36
endif ()
37
37
endforeach ()
@@ -59,7 +59,7 @@ if((NOT MSVC) AND (${First_Line_Of_Main_File} MATCHES " include 'modparm.f'
59
59
endif ()
60
60
# Build main.f first which includes modparm.f (i.e., parm.mod)
61
61
add_custom_command (OUTPUT main.o
62
- COMMAND ${CMAKE_Fortran_COMPILER} ${Compile_Flags_List} -ffixed-line-length -79 -c
62
+ COMMAND ${CMAKE_Fortran_COMPILER} ${Compile_Flags_List} -ffixed-line-length -80 -c
63
63
${CMAKE_CURRENT_SOURCE_DIR} /modparm.f ${CMAKE_CURRENT_SOURCE_DIR} /main.f)
64
64
# Build other source files that depend on main.o
65
65
foreach (SRCFILE ${F77SRCS} ${F90SRCS} )
@@ -71,7 +71,7 @@ if((NOT MSVC) AND (${First_Line_Of_Main_File} MATCHES " include 'modparm.f'
71
71
endif ()
72
72
# Set compile flag according to Fortran line format. These should be consistent with settings above.
73
73
if (${ext} STREQUAL ".f" )
74
- set (Format_Flag "-ffixed-line-length-79 " )
74
+ set (Format_Flag "-ffixed-line-length-80 " )
75
75
else ()
76
76
set (Format_Flag "-ffree-line-length-none" )
77
77
endif ()
0 commit comments