summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/g77.cmake
blob: 8f7d448ce17246afe4524950cbba98d90d5167db (plain)
1
2
3
4
5
6
7
IF(CMAKE_COMPILER_IS_GNUG77)
  SET (CMAKE_Fortran_FLAGS_INIT "")
  SET (CMAKE_Fortran_FLAGS_DEBUG_INIT "-g")
  SET (CMAKE_Fortran_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG")
  SET (CMAKE_Fortran_FLAGS_RELEASE_INIT "-O3 -DNDEBUG")
  SET (CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT "-O2 -g")
ENDIF(CMAKE_COMPILER_IS_GNUG77)