Support updating 'llvm_add_target' lists as well.

llvm-svn: 85860
This commit is contained in:
Ted Kremenek 2009-11-03 04:06:58 +00:00
parent 2124f0d43f
commit a6484f4208
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ sub UpdateCMake {
while(<IN>) {
if (!$foundLibrary) {
print OUT $_;
if (/^add_clang_library\(/ || /^add_llvm_library\(/) {
if (/^add_clang_library\(/ || /^add_llvm_library\(/ || /^add_llvm_target\(/) {
$foundLibrary = 1;
EmitCMakeList($dir);
}