X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=utils%2FUpdateCMakeLists.pl;h=c896ea839be88521f74ea749b97b87c1a4b7595a;hb=6b6dfa5c5a4d17a0425fb391206a6cd806e5ba7d;hp=3aa2f8891e2ec8857fd51fe31535bd443db2f0f0;hpb=a2701b4e721b28e366b3a79bdd53199043bf90dc;p=oota-llvm.git diff --git a/utils/UpdateCMakeLists.pl b/utils/UpdateCMakeLists.pl index 3aa2f8891e2..c896ea839be 100755 --- a/utils/UpdateCMakeLists.pl +++ b/utils/UpdateCMakeLists.pl @@ -68,7 +68,7 @@ sub UpdateCMake { while() { if (!$foundLibrary) { print OUT $_; - if (/^add_clang_library\(/ || /^add_llvm_library\(/) { + if (/^add_[^_]+_library\(/ || /^add_llvm_target\(/ || /^add_[^_]+_executable\(/) { $foundLibrary = 1; EmitCMakeList($dir); }