aedi: fix slade compilation flags

This commit is contained in:
alexey.lysiuk 2021-08-07 15:57:32 +03:00
parent 4aa48ce2b6
commit 15e9765a75

View file

@ -182,7 +182,7 @@ class SladeTarget(CMakeMainTarget):
def configure(self, state: BuildState):
opts = state.options
opts['CMAKE_C_FLAGS'] = opts['CMAKE_CXX_FLAGS'] = '-DNOCURL -I' + state.include_path
opts['CMAKE_C_FLAGS'] = opts['CMAKE_CXX_FLAGS'] = f'-DNOCURL -I{state.include_path}'
opts['CMAKE_EXE_LINKER_FLAGS'] = \
state.run_pkg_config('--libs', 'fluidsynth', 'libtiff-4', 'openal', 'vorbisfile')
opts['wxWidgets_USE_STATIC'] = 'YES'