mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2025-02-16 16:41:42 +00:00
aedi: enable cmake module for webp
This commit is contained in:
parent
76f9cae583
commit
74e4a4810e
1 changed files with 6 additions and 0 deletions
|
@ -442,6 +442,12 @@ class WebpTarget(CMakeStaticDependencyTarget):
|
|||
def detect(self, state: BuildState) -> bool:
|
||||
return os.path.exists(state.source + 'src/libwebp.pc.in')
|
||||
|
||||
def post_build(self, state: BuildState):
|
||||
super().post_build(state)
|
||||
|
||||
shutil.copytree(state.install_path + 'share/WebP/cmake', state.install_path + 'lib/cmake/WebP')
|
||||
self.keep_module_target(state, 'WebP::webp')
|
||||
|
||||
|
||||
class ZstdTarget(CMakeStaticDependencyTarget):
|
||||
def __init__(self, name='zstd'):
|
||||
|
|
Loading…
Reference in a new issue