diff options
author | Steven Vancoillie <steven.vancoillie@runbox.com> | 2015-03-20 08:13:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-03-20 17:05:05 (GMT) |
commit | 3556fb1b81fccac63600a2509f92e9ef738fed69 (patch) | |
tree | 48b25853d29ffced9bbcfd2fd72b2576056dfa70 /Modules | |
parent | c95e523db87cd503c97ca2a6021614393bb33e0b (diff) | |
download | CMake-3556fb1b81fccac63600a2509f92e9ef738fed69.zip CMake-3556fb1b81fccac63600a2509f92e9ef738fed69.tar.gz CMake-3556fb1b81fccac63600a2509f92e9ef738fed69.tar.bz2 |
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") |