Only build lldb-tblgen if it's not a current target
authorNathan Lanza <nathan@lanza.io>
Thu, 18 Jul 2019 01:26:53 +0000 (01:26 +0000)
committerNathan Lanza <nathan@lanza.io>
Thu, 18 Jul 2019 01:26:53 +0000 (01:26 +0000)
commitbd3e74c73d968582d36e4d60e389002540becc8c
tree07baeea6915cd1ec4592d579d58ba7560592cd94
parent9cdd2152b92703bfac118f7cc0b3eb934b95cdaf
Only build lldb-tblgen if it's not a current target

Summary:
When doing standalone builds, you could potentially be building against
an llvm which also built lldb. If this were the case, you'd be
attempting to build this target twice.

Reviewers: xiaobai

Subscribers: mgorny

Differential Revision: https://reviews.llvm.org/D64847

llvm-svn: 366394
lldb/utils/TableGen/CMakeLists.txt