mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 03:39:43 -06:00
The add_custom_command(TARGET) signature only works for targets defined in the current directory. Clarify this in the error message when the target exists but was defined elsewhere. Inspired-by: Bartosz Kosiorek <gang65@poczta.onet.pl>