[CMake] Knowing the name of the linker.

Alexander Neundorf a.neundorf-work at gmx.net
Fri Nov 7 13:18:04 EST 2008


On Friday 07 November 2008, Óscar Fuentes wrote:
> Hello.
>
> On some circunstances I need to explicitly invoke the linker, which
> happens to be `ld'. But this is no longer true when cross-compiling. How
> to know the name of the linker? I see cmake variables containing command
> lines for linking, but not the linker command name itself.

Does CMAKE_LINKER have what you want ?

Alex


More information about the CMake mailing list