diff options
-rw-r--r-- | Modules/Platform/SunOS-SunPro-Fortran.cmake | 7 |
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") + |