summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-11-22 07:48:52 +0000
committerTed Kremenek <kremenek@apple.com>2012-11-22 07:48:52 +0000
commit68ab5ecd757c6e61593fc73adcd7e7e5e3dbef86 (patch)
treec0ef60767a38df684a2ce2b691bece713dd955b9
parente9541c820af6a3235f120394474afb3460f20ebe (diff)
downloadbcm5719-llvm-68ab5ecd757c6e61593fc73adcd7e7e5e3dbef86.tar.gz
bcm5719-llvm-68ab5ecd757c6e61593fc73adcd7e7e5e3dbef86.zip
Generalize matching of add_executable to add_XXX_executable.
llvm-svn: 168490
-rwxr-xr-xllvm/utils/UpdateCMakeLists.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/UpdateCMakeLists.pl b/llvm/utils/UpdateCMakeLists.pl
index d92a767adf3..c896ea839be 100755
--- a/llvm/utils/UpdateCMakeLists.pl
+++ b/llvm/utils/UpdateCMakeLists.pl
@@ -68,7 +68,7 @@ sub UpdateCMake {
while(<IN>) {
if (!$foundLibrary) {
print OUT $_;
- if (/^add_[^_]+_library\(/ || /^add_llvm_target\(/ || /^add_executable\(/) {
+ if (/^add_[^_]+_library\(/ || /^add_llvm_target\(/ || /^add_[^_]+_executable\(/) {
$foundLibrary = 1;
EmitCMakeList($dir);
}
OpenPOWER on IntegriCloud