mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-10 14:41:43 +00:00
aedi: add detection to unrar target
This commit is contained in:
parent
0961551fd8
commit
85ab6c4706
1 changed files with 3 additions and 0 deletions
|
@ -162,6 +162,9 @@ class UnrarTarget(MakeTarget):
|
||||||
def post_build(self, state: BuildState):
|
def post_build(self, state: BuildState):
|
||||||
self.copy_to_bin(state)
|
self.copy_to_bin(state)
|
||||||
|
|
||||||
|
def detect(self, state: BuildState) -> bool:
|
||||||
|
return state.has_source_file('rar.hpp')
|
||||||
|
|
||||||
|
|
||||||
class ZipTarget(MakeTarget):
|
class ZipTarget(MakeTarget):
|
||||||
def __init__(self, name='zip'):
|
def __init__(self, name='zip'):
|
||||||
|
|
Loading…
Reference in a new issue