mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2025-02-16 16:41:42 +00:00
aedi: simplify condition in target filter for cmake modules
This commit is contained in:
parent
92bb063a74
commit
508f50fbdd
1 changed files with 2 additions and 5 deletions
|
@ -469,11 +469,8 @@ class CMakeStaticDependencyTarget(CMakeTarget):
|
|||
for regex in import_regexes:
|
||||
match = regex.match(line)
|
||||
|
||||
if not match:
|
||||
continue
|
||||
else:
|
||||
if match.group('target') != target:
|
||||
return None
|
||||
if match and match.group('target') != target:
|
||||
return None
|
||||
|
||||
return line
|
||||
|
||||
|
|
Loading…
Reference in a new issue