summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-11-11 18:58:31 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-11-11 18:58:31 (GMT)
commita4f04d581705b5a33a2801ed62300db24b82bd22 (patch)
tree3ed0fcdfd27a590db1b4aa1a52bc8569858e9a36 /Modules
parent92bf86dcd9fbf1c994d223c5728e7b9689c78951 (diff)
downloadCMake-a4f04d581705b5a33a2801ed62300db24b82bd22.zip
CMake-a4f04d581705b5a33a2801ed62300db24b82bd22.tar.gz
CMake-a4f04d581705b5a33a2801ed62300db24b82bd22.tar.bz2
ENH: fix fortran flags on sun
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/SunOS-SunPro-Fortran.cmake7
1 files changed, 5 insertions, 2 deletions
diff --git a/Modules/Platform/SunOS-SunPro-Fortran.cmake b/Modules/Platform/SunOS-SunPro-Fortran.cmake
index 5739c58..1006bf2 100644
--- a/Modules/Platform/SunOS-SunPro-Fortran.cmake
+++ b/Modules/Platform/SunOS-SunPro-Fortran.cmake
@@ -1,2 +1,5 @@
-SET(CMAKE_Fortran_MODDIR_FLAG "-moddir=")
-SET(CMAKE_Fortran_MODPATH_FLAG "-M")
+set(CMAKE_Fortran_MODDIR_FLAG "-moddir=")
+set(CMAKE_Fortran_MODPATH_FLAG "-M")
+set(CMAKE_EXECUTABLE_RUNTIME_Fortran_FLAG "-R")
+set(CMAKE_SHARED_LIBRARY_Fortran_FLAGS "-KPIC")
+