summaryrefslogtreecommitdiff
path: root/utils/UpdateCMakeLists.pl
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-11-03 04:06:58 +0000
committerTed Kremenek <kremenek@apple.com>2009-11-03 04:06:58 +0000
commitf7dd3ebf5292243080cf2920d46a390210c97a9c (patch)
tree7b5429d4edebaffc353537b67cd4a86e07623511 /utils/UpdateCMakeLists.pl
parent8ab51e3041e7efc2080900455b26231961738566 (diff)
downloadllvm-f7dd3ebf5292243080cf2920d46a390210c97a9c.tar.gz
llvm-f7dd3ebf5292243080cf2920d46a390210c97a9c.tar.bz2
llvm-f7dd3ebf5292243080cf2920d46a390210c97a9c.tar.xz
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/UpdateCMakeLists.pl')
-rwxr-xr-xutils/UpdateCMakeLists.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/UpdateCMakeLists.pl b/utils/UpdateCMakeLists.pl
index 3aa2f8891e..6d24d90eea 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);
}