X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=utils%2FUpdateCMakeLists.pl;h=c896ea839be88521f74ea749b97b87c1a4b7595a;hb=90f3f15da5c96356f9952109446f945090180b27;hp=d92a767adf328b4194595deb4033c4d16a09f58f;hpb=521ed460e9a2c4821987cdfd62f68720d2c40ccd;p=oota-llvm.git 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); }