CMAKE_LINK_WHAT_YOU_USE_CHECK
Added in version 3.22.
Command executed by 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 CMAKE_<LANG>_LINK_WHAT_YOU_USE_FLAG variables.
© 2000–2026 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/latest/variable/CMAKE_LINK_WHAT_YOU_USE_CHECK.html