mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Avoid implying that it can be used to intentionally link to shared libraries whose symbols are not needed. Issue: #26529
12 lines
357 B
ReStructuredText
12 lines
357 B
ReStructuredText
CMAKE_LINK_WHAT_YOU_USE_CHECK
|
|
-----------------------------
|
|
|
|
.. versionadded:: 3.22
|
|
|
|
Command executed by :prop_tgt:`LINK_WHAT_YOU_USE` after the linker to
|
|
check for unnecessarily-linked shared libraries.
|
|
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.
|