Skip to content

Commit 4378a67

Browse files
committed
order was mixed up, no global relaxation of standards
1 parent 999be0b commit 4378a67

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

CMakeLists.txt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,9 @@ if(CMAKE_Fortran_COMPILER_ID STREQUAL GNU)
1414
add_compile_options(-Wconversion-extra)
1515
add_compile_options(-pedantic-errors)
1616
if(CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER_EQUAL 8.0)
17-
add_compile_options(-std=f2008ts)
18-
else()
1917
add_compile_options(-std=f2018)
20-
endif()
21-
if(CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER_EQUAL 10.0)
22-
add_compile_options(-fallow-invalid-boz) # ToDo: hack for invalid code
18+
else()
19+
add_compile_options(-std=f2008ts)
2320
endif()
2421
elseif(CMAKE_Fortran_COMPILER_ID STREQUAL Intel)
2522
add_compile_options(-warn declarations,general,usage,interfaces,unused)

0 commit comments

Comments
 (0)