diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-11-03 04:06:58 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-11-03 04:06:58 +0000 |
commit | f7dd3ebf5292243080cf2920d46a390210c97a9c (patch) | |
tree | 7b5429d4edebaffc353537b67cd4a86e07623511 /utils | |
parent | 8ab51e3041e7efc2080900455b26231961738566 (diff) | |
download | external_llvm-f7dd3ebf5292243080cf2920d46a390210c97a9c.zip external_llvm-f7dd3ebf5292243080cf2920d46a390210c97a9c.tar.gz external_llvm-f7dd3ebf5292243080cf2920d46a390210c97a9c.tar.bz2 |
Support updating 'llvm_add_target' lists as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85860 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/UpdateCMakeLists.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/UpdateCMakeLists.pl b/utils/UpdateCMakeLists.pl index 3aa2f88..6d24d90 100755 --- a/utils/UpdateCMakeLists.pl +++ b/utils/UpdateCMakeLists.pl @@ -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); } |