We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35f18f3 commit 8431e7bCopy full SHA for 8431e7b
CMakeLists.txt
@@ -24,7 +24,9 @@ if(CMAKE_Fortran_COMPILER_ID STREQUAL GNU)
24
add_compile_options(-Wconversion-extra)
25
# -pedantic-errors triggers a false positive for optional arguments of elemental functions,
26
# see test_optval and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95446
27
- add_compile_options(-pedantic-errors)
+ if(CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 11.0)
28
+ add_compile_options(-pedantic-errors)
29
+ endif()
30
if(CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER_EQUAL 8.0)
31
add_compile_options(-std=f2018)
32
else()
0 commit comments