mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-22 20:11:51 +00:00
build script: simplify doom64ex target
This commit is contained in:
parent
6501805c39
commit
50ba3a1d1b
1 changed files with 4 additions and 5 deletions
9
build.py
9
build.py
|
@ -550,13 +550,12 @@ class Doom64EXTarget(CMakeTarget):
|
||||||
def prepare_source(self, builder: 'Builder'):
|
def prepare_source(self, builder: 'Builder'):
|
||||||
builder.checkout_git('https://github.com/svkaiser/Doom64EX.git')
|
builder.checkout_git('https://github.com/svkaiser/Doom64EX.git')
|
||||||
|
|
||||||
def initialize(self, builder: 'Builder'):
|
def configure(self, builder: 'Builder'):
|
||||||
super().initialize(builder)
|
|
||||||
self._link_with_sound_libraries(builder)
|
|
||||||
|
|
||||||
opts = self.options
|
opts = self.options
|
||||||
opts['ENABLE_SYSTEM_FLUIDSYNTH'] = 'YES'
|
opts['ENABLE_SYSTEM_FLUIDSYNTH'] = 'YES'
|
||||||
opts['CMAKE_EXE_LINKER_FLAGS'] += ' -framework Cocoa -framework ForceFeedback -framework IOKit'
|
opts['CMAKE_EXE_LINKER_FLAGS'] = builder.run_pkg_config('--libs', 'SDL2', 'fluidsynth')
|
||||||
|
|
||||||
|
super().configure(builder)
|
||||||
|
|
||||||
|
|
||||||
class DevilutionXTarget(CMakeTarget):
|
class DevilutionXTarget(CMakeTarget):
|
||||||
|
|
Loading…
Reference in a new issue