mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-22 03:51:33 +00:00
aedi: use cmake to build png
This commit is contained in:
parent
87dd157f0e
commit
f44fe5a700
1 changed files with 5 additions and 1 deletions
|
@ -150,10 +150,14 @@ class OpusFileTarget(ConfigureMakeStaticDependencyTarget):
|
|||
return os.path.exists(state.source + 'opusfile.pc.in')
|
||||
|
||||
|
||||
class PngTarget(ConfigureMakeStaticDependencyTarget):
|
||||
class PngTarget(CMakeStaticDependencyTarget):
|
||||
def __init__(self, name='png'):
|
||||
super().__init__(name)
|
||||
|
||||
opts = self.options
|
||||
opts['PNG_ARM_NEON'] = 'on'
|
||||
opts['PNG_SHARED'] = 'OFF'
|
||||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://downloads.sourceforge.net/libpng/libpng-1.6.37.tar.xz',
|
||||
|
|
Loading…
Reference in a new issue