summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/AIX-VisualAge-Fortran.cmake1
-rw-r--r--Modules/Platform/Linux-VisualAge-Fortran.cmake1
-rw-r--r--Modules/Platform/xlf.cmake1
3 files changed, 3 insertions, 0 deletions
diff --git a/Modules/Platform/AIX-VisualAge-Fortran.cmake b/Modules/Platform/AIX-VisualAge-Fortran.cmake
new file mode 100644
index 0000000..10c29c2
--- /dev/null
+++ b/Modules/Platform/AIX-VisualAge-Fortran.cmake
@@ -0,0 +1 @@
+include(Platforms/xlf)
diff --git a/Modules/Platform/Linux-VisualAge-Fortran.cmake b/Modules/Platform/Linux-VisualAge-Fortran.cmake
index 295226b..e8fee37 100644
--- a/Modules/Platform/Linux-VisualAge-Fortran.cmake
+++ b/Modules/Platform/Linux-VisualAge-Fortran.cmake
@@ -1,2 +1,3 @@
SET(CMAKE_SHARED_LIBRARY_C_FLAGS "")
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
+include(Platforms/xlf)
diff --git a/Modules/Platform/xlf.cmake b/Modules/Platform/xlf.cmake
new file mode 100644
index 0000000..4939e6c
--- /dev/null
+++ b/Modules/Platform/xlf.cmake
@@ -0,0 +1 @@
+set(CMAKE_DEFINE_FLAG_Fortran "-WF,-D")