mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 03:29:18 -05:00
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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user