diff options
Diffstat (limited to 'utils/UpdateCMakeLists.pl')
-rwxr-xr-x | utils/UpdateCMakeLists.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/UpdateCMakeLists.pl b/utils/UpdateCMakeLists.pl index 6d24d90eea5..8f535145de3 100755 --- a/utils/UpdateCMakeLists.pl +++ b/utils/UpdateCMakeLists.pl @@ -68,7 +68,8 @@ sub UpdateCMake { while(<IN>) { if (!$foundLibrary) { print OUT $_; - if (/^add_clang_library\(/ || /^add_llvm_library\(/ || /^add_llvm_target\(/) { + if (/^add_clang_library\(/ || /^add_llvm_library\(/ || /^add_llvm_target\(/ + || /^add_executable\(/) { $foundLibrary = 1; EmitCMakeList($dir); } |