Generalize matching of add_executable to add_XXX_executable.

llvm-svn: 168490
This commit is contained in:
Ted Kremenek 2012-11-22 07:48:52 +00:00
parent e9541c820a
commit 68ab5ecd75
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_[^_]+_library\(/ || /^add_llvm_target\(/ || /^add_executable\(/) {
if (/^add_[^_]+_library\(/ || /^add_llvm_target\(/ || /^add_[^_]+_executable\(/) {
$foundLibrary = 1;
EmitCMakeList($dir);
}