Skip to content

Commit 5a4fac1

Browse files
authored
Merge pull request #4075 from martin-frbg/issue4072
Treat f95 as gfortran in CMAKE builds
2 parents 23693f0 + f981e37 commit 5a4fac1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/fc.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ if (${F_COMPILER} STREQUAL "G95")
3838
endif ()
3939
endif ()
4040

41-
if (${F_COMPILER} STREQUAL "GFORTRAN")
41+
if (${F_COMPILER} STREQUAL "GFORTRAN" OR ${F_COMPILER} STREQUAL "F95")
4242
set(CCOMMON_OPT "${CCOMMON_OPT} -DF_INTERFACE_GFORT")
4343
# ensure reentrancy of lapack codes
4444
set(FCOMMON_OPT "${FCOMMON_OPT} -Wall -frecursive")

0 commit comments

Comments
 (0)