NAG: Use -PIC for Fortran position-independent code (#13932)

The Numerical Algorithms Group (NAG) Fortran compiler documents -PIC for
position-independent code.
This commit is contained in:
Neil Carlson 2013-02-18 13:10:35 -05:00 committed by Brad King
parent a0ac2c59fe
commit c26ac223df
1 changed files with 1 additions and 0 deletions

View File

@ -32,3 +32,4 @@ set(CMAKE_Fortran_MODDIR_FLAG "-mdir ")
set(CMAKE_SHARED_LIBRARY_Fortran_FLAGS "-PIC")
set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-fixed")
set(CMAKE_Fortran_FORMAT_FREE_FLAG "-free")
set(CMAKE_Fortran_COMPILE_OPTIONS_PIC "-PIC")