Skip to content

Commit

Permalink
Merge branch 'master' of github.com:PHASTA/phasta
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethEJansen committed Nov 1, 2022
2 parents 4afff3f + 4b24563 commit dc37f0b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ ENDIF(CMAKE_SYSTEM_NAME MATCHES BlueGeneQ-static)
# stuff for C/C++ calls to Fortran -- still needs to be done properly...
IF(CMAKE_Fortran_COMPILER_ID MATCHES GNU)
SET(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -ffixed-form -ffixed-line-length-132 -cpp " )
IF(CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER 9.5.0)
#This feature was introduced in gfortran 10
#the last public release prior was 9.5 and
#version_greater_equal was introduced recently so we implement
#for compatibility.
SET(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fallow-argument-mismatch")
ENDIF(CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER 9.5.0)
ENDIF(CMAKE_Fortran_COMPILER_ID MATCHES GNU)

IF(CMAKE_Fortran_COMPILER_ID MATCHES Intel)
Expand Down

0 comments on commit dc37f0b

Please sign in to comment.