mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-25 21:31:25 +00:00
build script: fix chocolate-doom target
This commit is contained in:
parent
50ba3a1d1b
commit
75d748df11
1 changed files with 3 additions and 4 deletions
7
build.py
7
build.py
|
@ -520,12 +520,11 @@ class ChocolateDoomTarget(CMakeTarget):
|
|||
def prepare_source(self, builder: 'Builder'):
|
||||
builder.checkout_git('https://github.com/chocolate-doom/chocolate-doom.git')
|
||||
|
||||
def initialize(self, builder: 'Builder'):
|
||||
super().initialize(builder)
|
||||
|
||||
# Get all libraries to link with from SDL2_mixer
|
||||
def configure(self, builder: 'Builder'):
|
||||
self.options['CMAKE_EXE_LINKER_FLAGS'] = builder.run_pkg_config('--libs', 'SDL2_mixer')
|
||||
|
||||
super().configure(builder)
|
||||
|
||||
|
||||
class CrispyDoomTarget(ChocolateDoomTarget):
|
||||
def __init__(self, name='crispy-doom'):
|
||||
|
|
Loading…
Reference in a new issue