mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-25 05:11:49 +00:00
aedi: update quakespasm-exp target to support recent changes
This commit is contained in:
parent
d6b8d004ae
commit
c38c54f71c
1 changed files with 4 additions and 1 deletions
|
@ -467,7 +467,7 @@ class QuakespasmTarget(MakeMainTarget):
|
||||||
class QuakespasmExpTarget(CMakeMainTarget):
|
class QuakespasmExpTarget(CMakeMainTarget):
|
||||||
def __init__(self, name='quakespasm-exp'):
|
def __init__(self, name='quakespasm-exp'):
|
||||||
super().__init__(name)
|
super().__init__(name)
|
||||||
self.outputs = (self.name, 'quakespasm.pak')
|
self.outputs = (self.name, 'quakespasm-exp.pak')
|
||||||
|
|
||||||
def prepare_source(self, state: BuildState):
|
def prepare_source(self, state: BuildState):
|
||||||
state.checkout_git('https://github.com/alexey-lysiuk/quakespasm-exp.git')
|
state.checkout_git('https://github.com/alexey-lysiuk/quakespasm-exp.git')
|
||||||
|
@ -478,4 +478,7 @@ class QuakespasmExpTarget(CMakeMainTarget):
|
||||||
opts['QUAKE_MACOS_BUNDLE'] = 'OFF'
|
opts['QUAKE_MACOS_BUNDLE'] = 'OFF'
|
||||||
opts['QUAKE_MACOS_MOUSE_ACCELERATION'] = 'ON'
|
opts['QUAKE_MACOS_MOUSE_ACCELERATION'] = 'ON'
|
||||||
|
|
||||||
|
if state.architecture() != machine():
|
||||||
|
opts['MakeQuakePak_DIR'] = state.native_build_path
|
||||||
|
|
||||||
super().configure(state)
|
super().configure(state)
|
||||||
|
|
Loading…
Reference in a new issue