diff options
author | Brad King <brad.king@kitware.com> | 2009-08-07 14:12:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-08-07 14:12:34 (GMT) |
commit | 34c6588b6ed7219543e0155e501205ea3048684e (patch) | |
tree | 9c491536cf0b3d226d7980dad0837a06a7156014 /Modules | |
parent | ee7231c03fb17979d946ffd4eefabf8255324de6 (diff) | |
download | CMake-34c6588b6ed7219543e0155e501205ea3048684e.zip CMake-34c6588b6ed7219543e0155e501205ea3048684e.tar.gz CMake-34c6588b6ed7219543e0155e501205ea3048684e.tar.bz2 |
Move flag to Compiler/VisualAge-Fortran module
The CMAKE_Fortran_DEFINE_FLAG value applies to the IBM Fortran compilers
on all platforms. This moves the setting to the platform-independent
compiler information file.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Compiler/VisualAge-Fortran.cmake | 1 | ||||
-rw-r--r-- | Modules/Platform/AIX-VisualAge-Fortran.cmake | 1 | ||||
-rw-r--r-- | Modules/Platform/Linux-VisualAge-Fortran.cmake | 1 | ||||
-rw-r--r-- | Modules/Platform/xlf.cmake | 1 |
4 files changed, 1 insertions, 3 deletions
diff --git a/Modules/Compiler/VisualAge-Fortran.cmake b/Modules/Compiler/VisualAge-Fortran.cmake index 5ae3895..49d6bb2 100644 --- a/Modules/Compiler/VisualAge-Fortran.cmake +++ b/Modules/Compiler/VisualAge-Fortran.cmake @@ -1 +1,2 @@ SET(CMAKE_Fortran_VERBOSE_FLAG "-V") +SET(CMAKE_Fortran_DEFINE_FLAG "-WF,-D") diff --git a/Modules/Platform/AIX-VisualAge-Fortran.cmake b/Modules/Platform/AIX-VisualAge-Fortran.cmake deleted file mode 100644 index 086c592..0000000 --- a/Modules/Platform/AIX-VisualAge-Fortran.cmake +++ /dev/null @@ -1 +0,0 @@ -include(Platform/xlf) diff --git a/Modules/Platform/Linux-VisualAge-Fortran.cmake b/Modules/Platform/Linux-VisualAge-Fortran.cmake index f6fcc1f..295226b 100644 --- a/Modules/Platform/Linux-VisualAge-Fortran.cmake +++ b/Modules/Platform/Linux-VisualAge-Fortran.cmake @@ -1,3 +1,2 @@ SET(CMAKE_SHARED_LIBRARY_C_FLAGS "") SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") -include(Platform/xlf) diff --git a/Modules/Platform/xlf.cmake b/Modules/Platform/xlf.cmake deleted file mode 100644 index adf146f..0000000 --- a/Modules/Platform/xlf.cmake +++ /dev/null @@ -1 +0,0 @@ -set(CMAKE_Fortran_DEFINE_FLAG "-WF,-D") |