diff options
author | julie <julielangou@users.noreply.github.com> | 2010-12-23 00:50:18 +0000 |
---|---|---|
committer | julie <julielangou@users.noreply.github.com> | 2010-12-23 00:50:18 +0000 |
commit | 1c2620a72f6f8d1962f66566baf443078a381849 (patch) | |
tree | de646692c7dfc61807edd8a18443802852c884a6 /CMAKE | |
parent | 7c3ad4800fd8eee11741d64a9f7beacf4dbb7b13 (diff) |
Fixed a bug in the IBM compiler options (-ffixed-form -> -qfixed).
- Chuck Atkins (Kitware)
Diffstat (limited to 'CMAKE')
-rw-r--r-- | CMAKE/CheckLAPACKCompilerFlags.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMAKE/CheckLAPACKCompilerFlags.cmake b/CMAKE/CheckLAPACKCompilerFlags.cmake index 8e1a2fae..6d274f2e 100644 --- a/CMAKE/CheckLAPACKCompilerFlags.cmake +++ b/CMAKE/CheckLAPACKCompilerFlags.cmake @@ -38,8 +38,8 @@ elseif( CMAKE_Fortran_COMPILER_ID STREQUAL "VisualAge" ) set( FPE_EXIT TRUE ) endif() - if( NOT ("${CMAKE_Fortran_FLAGS}" MATCHES "-ffixed-form") ) - set( CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -ffixed_form" + if( NOT ("${CMAKE_Fortran_FLAGS}" MATCHES "-qfixed") ) + set( CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -qfixed" CACHE STRING "Flags for Fortran compiler." FORCE ) endif() |