From 6571799492f9456ce35770b8e0b75de14d4bc0a2 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 13 Jul 2005 08:29:56 -0400 Subject: [PATCH] FIX: for 1852 fix fortran case --- Modules/Platform/CYGWIN-g77.cmake | 4 ++-- Modules/Platform/IRIX64.cmake | 2 +- Modules/Platform/g77.cmake | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Modules/Platform/CYGWIN-g77.cmake b/Modules/Platform/CYGWIN-g77.cmake index 77f4f164d..f3c166582 100644 --- a/Modules/Platform/CYGWIN-g77.cmake +++ b/Modules/Platform/CYGWIN-g77.cmake @@ -1,5 +1,5 @@ SET(CMAKE_SHARED_LIBRARY_PREFIX "lib") SET(CMAKE_SHARED_LIBRARY_SUFFIX ".dll") -SET(CMAKE_SHARED_LIBRARY_FORTRAN_FLAGS "") -SET(CMAKE_SHARED_LIBRARY_FORTRAN_FLAGS "") +SET(CMAKE_SHARED_LIBRARY_Fortran_FLAGS "") +SET(CMAKE_SHARED_LIBRARY_Fortran_FLAGS "") INCLUDE(Platform/g77) diff --git a/Modules/Platform/IRIX64.cmake b/Modules/Platform/IRIX64.cmake index 1797e4a7a..828ee42a9 100644 --- a/Modules/Platform/IRIX64.cmake +++ b/Modules/Platform/IRIX64.cmake @@ -9,7 +9,7 @@ IF(NOT CMAKE_COMPILER_IS_GNUCXX) # Set default flags init. SET(CMAKE_C_FLAGS_INIT "") SET(CMAKE_CXX_FLAGS_INIT "") - SET(CMAKE_FORTRAN_FLAGS_INIT "") + SET(CMAKE_Fortran_FLAGS_INIT "") SET(CMAKE_EXE_LINKER_FLAGS_INIT "") SET(CMAKE_SHARED_LINKER_FLAGS_INIT "") SET(CMAKE_MODULE_LINKER_FLAGS_INIT "") diff --git a/Modules/Platform/g77.cmake b/Modules/Platform/g77.cmake index a720f4fc1..8f7d448ce 100644 --- a/Modules/Platform/g77.cmake +++ b/Modules/Platform/g77.cmake @@ -1,7 +1,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") + 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)