Merge pull request #4075 from martin-frbg/issue4072

Treat f95 as gfortran in CMAKE builds
This commit is contained in:
Martin Kroeker
2023-06-06 14:53:35 +02:00
committed by GitHub

View File

@@ -38,7 +38,7 @@ if (${F_COMPILER} STREQUAL "G95")
endif ()
endif ()
if (${F_COMPILER} STREQUAL "GFORTRAN")
if (${F_COMPILER} STREQUAL "GFORTRAN" OR ${F_COMPILER} STREQUAL "F95")
set(CCOMMON_OPT "${CCOMMON_OPT} -DF_INTERFACE_GFORT")
# ensure reentrancy of lapack codes
set(FCOMMON_OPT "${FCOMMON_OPT} -Wall -frecursive")