summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/LinkItemValidation/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* target_link_libraries: Optionally require only target namesBrad King2021-12-201-0/+3
| | | | | | | | | | 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
* Tests: Rename RunCMake.{CMP0028 => LinkItemValidation}Brad King2021-12-201-0/+3
Generalize the test name to prepare for cases beyond CMP0028.