mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
Generalize matching of add_executable to add_XXX_executable.
llvm-svn: 168490
This commit is contained in:
parent
313cf13f6d
commit
6519f20118
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user