summaryrefslogtreecommitdiff
path: root/Help/variable/CMAKE_LINK_WHAT_YOU_USE_CHECK.rst
blob: e626641bc802c2286d8145942039cdcf71b0b168 (plain)
1
2
3
4
5
6
7
8
9
10
CMAKE_LINK_WHAT_YOU_USE_CHECK
-----------------------------

.. versionadded:: 3.22

Defines the command executed after the link step to check libraries usage.
This check is currently only defined on ``ELF`` platforms with value
``ldd -u -r``.

See also :variable:`CMAKE_<LANG>_LINK_WHAT_YOU_USE_FLAG` variables.