FIX: for 1852 fix fortran case

This commit is contained in:
Bill Hoffman 2005-07-13 08:29:56 -04:00
parent 969bf65107
commit 6571799492
3 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
SET(CMAKE_SHARED_LIBRARY_PREFIX "lib") SET(CMAKE_SHARED_LIBRARY_PREFIX "lib")
SET(CMAKE_SHARED_LIBRARY_SUFFIX ".dll") 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) INCLUDE(Platform/g77)

View File

@ -9,7 +9,7 @@ IF(NOT CMAKE_COMPILER_IS_GNUCXX)
# Set default flags init. # Set default flags init.
SET(CMAKE_C_FLAGS_INIT "") SET(CMAKE_C_FLAGS_INIT "")
SET(CMAKE_CXX_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_EXE_LINKER_FLAGS_INIT "")
SET(CMAKE_SHARED_LINKER_FLAGS_INIT "") SET(CMAKE_SHARED_LINKER_FLAGS_INIT "")
SET(CMAKE_MODULE_LINKER_FLAGS_INIT "") SET(CMAKE_MODULE_LINKER_FLAGS_INIT "")

View File

@ -1,7 +1,7 @@
IF(CMAKE_COMPILER_IS_GNUG77) IF(CMAKE_COMPILER_IS_GNUG77)
SET (CMAKE_FORTRAN_FLAGS_INIT "") SET (CMAKE_Fortran_FLAGS_INIT "")
SET (CMAKE_FORTRAN_FLAGS_DEBUG_INIT "-g") SET (CMAKE_Fortran_FLAGS_DEBUG_INIT "-g")
SET (CMAKE_FORTRAN_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG") SET (CMAKE_Fortran_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG")
SET (CMAKE_FORTRAN_FLAGS_RELEASE_INIT "-O3 -DNDEBUG") SET (CMAKE_Fortran_FLAGS_RELEASE_INIT "-O3 -DNDEBUG")
SET (CMAKE_FORTRAN_FLAGS_RELWITHDEBINFO_INIT "-O2 -g") SET (CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT "-O2 -g")
ENDIF(CMAKE_COMPILER_IS_GNUG77) ENDIF(CMAKE_COMPILER_IS_GNUG77)