Skip to content
Commit e73177ea authored by Kevin Petit's avatar Kevin Petit
Browse files

Fix use of add_llvm_tool in projects that build no targets

Projects that set LLVM_TARGETS_TO_BUILD to an empty list
can't use add_llvm_tool (and probably other macros).

Here's the error that this change fixes:

list sub-command REMOVE_ITEM requires two or more arguments.

https://reviews.llvm.org/D70167



Signed-off-by: default avatarKevin Petit <kevin.petit@arm.com>
parent 4c9d0da8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment