mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-23 15:11:01 -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
11 lines
201 B
CMake
11 lines
201 B
CMake
include(RunCMake)
|
|
|
|
run_cmake(CMP0028-NEW)
|
|
run_cmake(CMP0028-OLD)
|
|
run_cmake(CMP0028-WARN)
|
|
run_cmake(CMP0028-NEW-iface)
|
|
run_cmake(CMP0028-OLD-iface)
|
|
run_cmake(CMP0028-WARN-iface)
|
|
|
|
run_cmake(OnlyTargets)
|