[CMake] Use of -fPIC when linking executables

Lars Nordlund lars.nordlund at hem.utfors.se
Tue Mar 14 18:10:02 EST 2006


On Tue, 14 Mar 2006 09:05:07 -0500
Brad King <brad.king at kitware.com> wrote:
> If any of the libraries to which the executable links are shared then 
> -fPIC must be used in the link.  It isn't absolutely necessary on all 
> platforms but the same code generates the rules for other platforms too. 
>   Is it breaking something for you?

No, no problem seen. I was just curious.


Thanks for the reply,
	Lars Nordlund


More information about the CMake mailing list