mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2025-01-18 22:21:39 +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):
|
||||
self.copy_to_bin(state)
|
||||
|
||||
def detect(self, state: BuildState) -> bool:
|
||||
return state.has_source_file('rar.hpp')
|
||||
|
||||
|
||||
class ZipTarget(MakeTarget):
|
||||
def __init__(self, name='zip'):
|
||||
|
|
Loading…
Reference in a new issue