mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-28 04:09:35 +03: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)
|