FIX: for 1852 fix fortran case
This commit is contained in:
parent
969bf65107
commit
6571799492
|
@ -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)
|
||||
|
|
|
@ -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 "")
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue