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 fd565cc commit aa5beeeCopy full SHA for aa5beee
CMakeLists.txt
@@ -31,6 +31,13 @@ if(CMAKE_Fortran_COMPILER_ID STREQUAL GNU AND CMAKE_Fortran_COMPILER_VERSION VER
31
message(FATAL_ERROR "GCC Version 9 or newer required")
32
endif()
33
34
+# --- silence gfortran-15 argument-mismatch warnings
35
+if(CMAKE_Fortran_COMPILER_ID STREQUAL GNU
36
+ AND CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER_EQUAL 15.0
37
+ AND CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 16.0)
38
+ add_compile_options("$<$<COMPILE_LANGUAGE:Fortran>:-Wno-external-argument-mismatch>")
39
+endif()
40
+
41
# --- compiler feature checks
42
include(CheckFortranSourceCompiles)
43
include(CheckFortranSourceRuns)
0 commit comments