mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-10 14:41:43 +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,10 +469,7 @@ class CMakeStaticDependencyTarget(CMakeTarget):
|
||||||
for regex in import_regexes:
|
for regex in import_regexes:
|
||||||
match = regex.match(line)
|
match = regex.match(line)
|
||||||
|
|
||||||
if not match:
|
if match and match.group('target') != target:
|
||||||
continue
|
|
||||||
else:
|
|
||||||
if match.group('target') != target:
|
|
||||||
return None
|
return None
|
||||||
|
|
||||||
return line
|
return line
|
||||||
|
|
Loading…
Reference in a new issue