diff options
author | Brad King <brad.king@kitware.com> | 2015-03-23 13:18:34 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-03-23 13:18:34 (GMT) |
commit | d0af0207131b8436a2cf670265f815db511f441d (patch) | |
tree | 79582a3bfe66a97a02600e9c07c86e5b889e07aa /Modules | |
parent | 88abc78723bc955d44d83998e70d3b09d5dd4806 (diff) | |
parent | 3556fb1b81fccac63600a2509f92e9ef738fed69 (diff) | |
download | CMake-d0af0207131b8436a2cf670265f815db511f441d.zip CMake-d0af0207131b8436a2cf670265f815db511f441d.tar.gz CMake-d0af0207131b8436a2cf670265f815db511f441d.tar.bz2 |
Merge topic 'SunPro-Fortran-KPIC'
3556fb1b SunPro: Add position independent code flag for Fortran compiler
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Compiler/SunPro-Fortran.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Compiler/SunPro-Fortran.cmake b/Modules/Compiler/SunPro-Fortran.cmake index e4db1e8..196aae4 100644 --- a/Modules/Compiler/SunPro-Fortran.cmake +++ b/Modules/Compiler/SunPro-Fortran.cmake @@ -2,6 +2,7 @@ set(CMAKE_Fortran_VERBOSE_FLAG "-v") set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-fixed") set(CMAKE_Fortran_FORMAT_FREE_FLAG "-free") +set(CMAKE_Fortran_COMPILE_OPTIONS_PIC "-KPIC") set(CMAKE_SHARED_LIBRARY_Fortran_FLAGS "-KPIC") set(CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS "-G") set(CMAKE_SHARED_LIBRARY_RUNTIME_Fortran_FLAG "-R") |