Is there a correct way to have the FortranCInterface_VERIFY
function use “-fpic”?
Setting CMAKE_POSITION_INDEPENDENT_CODE
has no effect. Temporarily appending -fpic
to CMAKE_Fortran_FLAGS
works but feels hacky.
Is there a correct way to have the FortranCInterface_VERIFY
function use “-fpic”?
Setting CMAKE_POSITION_INDEPENDENT_CODE
has no effect. Temporarily appending -fpic
to CMAKE_Fortran_FLAGS
works but feels hacky.