CMAKE_<LANG>_COMPILER_LINKER — CMake 4.3.3 Documentation

# 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.