From 34c6588b6ed7219543e0155e501205ea3048684e Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 7 Aug 2009 10:12:34 -0400 Subject: [PATCH] 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. --- Modules/Compiler/VisualAge-Fortran.cmake | 1 + Modules/Platform/AIX-VisualAge-Fortran.cmake | 1 - Modules/Platform/Linux-VisualAge-Fortran.cmake | 1 - Modules/Platform/xlf.cmake | 1 - 4 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 Modules/Platform/AIX-VisualAge-Fortran.cmake delete mode 100644 Modules/Platform/xlf.cmake diff --git a/Modules/Compiler/VisualAge-Fortran.cmake b/Modules/Compiler/VisualAge-Fortran.cmake index 5ae389519..49d6bb2f3 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 086c592b3..000000000 --- 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 f6fcc1f0e..295226bbe 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 adf146f8a..000000000 --- a/Modules/Platform/xlf.cmake +++ /dev/null @@ -1 +0,0 @@ -set(CMAKE_Fortran_DEFINE_FLAG "-WF,-D")