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.
2 parents b38e34e + c74b3d9 commit d5ae714Copy full SHA for d5ae714
CMakeLists.txt
@@ -244,7 +244,7 @@ if (PIO_ENABLE_COVERAGE)
244
endif ()
245
246
# Allow argument mismatch in gfortran versions > 10 for mpi library compatibility
247
-if (CMAKE_C_COMPILER_NAME STREQUAL "GNU")
+if (CMAKE_Fortran_COMPILER_NAME STREQUAL "GNU")
248
if ("${CMAKE_Fortran_COMPILER_VERSION}" VERSION_LESS 10)
249
message (WARNING "gfortran version is ${CMAKE_Fortran_COMPILER_VERSION}")
250
else()
0 commit comments