X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=utils%2FUpdateCMakeLists.pl;h=c896ea839be88521f74ea749b97b87c1a4b7595a;hb=3d09e0e55093ecb569a5c7009f105a1b4a257e89;hp=6d24d90eea5111a46bcd7f5ea923d2dfdcc18aa3;hpb=f7dd3ebf5292243080cf2920d46a390210c97a9c;p=oota-llvm.git diff --git a/utils/UpdateCMakeLists.pl b/utils/UpdateCMakeLists.pl index 6d24d90eea5..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\(/ || /^add_llvm_target\(/) { + if (/^add_[^_]+_library\(/ || /^add_llvm_target\(/ || /^add_[^_]+_executable\(/) { $foundLibrary = 1; EmitCMakeList($dir); }