I'm updating an older cmake configuration system, and tried using
CMAKE_POSITION_INDEPENDENT_CODE. While it mostly does
the right thing, I found that the flag -fPIE was being used for a source
file that gets compiled into an executable. The NAG Fortran compiler
doesn't recognize this flag and exi
Hi,
You can use the LINK_FLAGS or LINK_FLAGS_ for this:
https://cmake.org/cmake/help/v3.6/prop_tgt/LINK_FLAGS.html
Have you tried that?
Guillaume
On Wed, Aug 3, 2016 at 7:02 AM, Louis-Paul CORDIER wrote:
> ase not t
--
Guillaume Dumont
=
dumont.guilla...@gmail.c