mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-20 06:00:30 -06:00
Optionally verify that items in `LINK_LIBRARIES` and `INTERFACE_LINK_LIBRARIES` that can be target names are actually target names. Add a `LINK_LIBRARIES_ONLY_TARGETS` target property and corresponding `CMAKE_LINK_LIBRARIES_ONLY_TARGETS` variable to enable this new check. Fixes: #22858
8 lines
296 B
ReStructuredText
8 lines
296 B
ReStructuredText
link-only-targets
|
|
-----------------
|
|
|
|
* The :variable:`CMAKE_LINK_LIBRARIES_ONLY_TARGETS` variable and
|
|
corresponding :prop_tgt:`LINK_LIBRARIES_ONLY_TARGETS` target
|
|
property were added to optionally require that all link items
|
|
that can be target names are actually names of existing targets.
|