aedi: update quakespasm-exp target to support recent changes

This commit is contained in:
alexey.lysiuk 2023-08-12 10:36:50 +03:00
parent d6b8d004ae
commit c38c54f71c

View file

@ -467,7 +467,7 @@ class QuakespasmTarget(MakeMainTarget):
class QuakespasmExpTarget(CMakeMainTarget):
def __init__(self, name='quakespasm-exp'):
super().__init__(name)
self.outputs = (self.name, 'quakespasm.pak')
self.outputs = (self.name, 'quakespasm-exp.pak')
def prepare_source(self, state: BuildState):
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_MOUSE_ACCELERATION'] = 'ON'
if state.architecture() != machine():
opts['MakeQuakePak_DIR'] = state.native_build_path
super().configure(state)