CMAKE_<LANG>_COMPILER_LINKERΒΆ

Added in version 3.29.

The full path to the linker for LANG.

This is the command that will be used as the <LANG> linker.

This variable is not guaranteed to be defined for all linkers or languages.

Note

This variable is read-only. It must not be set by the user. To select a specific linker, use the CMAKE_LINKER_TYPE variable or the LINKER_TYPE target property.