Skip to content
Snippets Groups Projects
Commit d257d681 authored by Brad King's avatar Brad King
Browse files

add_custom_command: Clarify error when TARGET is out of scope (#15681)


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: default avatarBartosz Kosiorek <gang65@poczta.onet.pl>
parent 4d53e0a7
No related branches found
No related tags found
No related merge requests found
Showing
with 37 additions and 3 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment