summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_LANG_COMPILER_LINKER.rst
blob: c0ae1cda1848ba4858d90ebcd76126c64fa0d214 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CMAKE_<LANG>_COMPILER_LINKER
----------------------------

.. versionadded:: 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 :variable:`CMAKE_LINKER_TYPE` variable or the
  :prop_tgt:`LINKER_TYPE` target property.