From 6519f2011825d4e44dba21232aa338e42a336de1 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Thu, 22 Nov 2012 07:48:52 +0000 Subject: [PATCH] Generalize matching of add_executable to add_XXX_executable. llvm-svn: 168490 --- utils/UpdateCMakeLists.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/UpdateCMakeLists.pl b/utils/UpdateCMakeLists.pl index d92a767adf3..c896ea839be 100755 --- a/utils/UpdateCMakeLists.pl +++ b/utils/UpdateCMakeLists.pl @@ -68,7 +68,7 @@ sub UpdateCMake { while() { if (!$foundLibrary) { print OUT $_; - if (/^add_[^_]+_library\(/ || /^add_llvm_target\(/ || /^add_executable\(/) { + if (/^add_[^_]+_library\(/ || /^add_llvm_target\(/ || /^add_[^_]+_executable\(/) { $foundLibrary = 1; EmitCMakeList($dir); }