aedi: disable jpeg-turbo shared libs

previously, ENABLE_SHARED=NO was set for all cmake targets
This commit is contained in:
alexey.lysiuk 2021-08-10 10:07:53 +03:00
parent 0999c82b44
commit c78ffda005

View file

@ -270,7 +270,10 @@ class JpegTurboTarget(CMakeStaticDependencyTarget):
return state.has_source_file('turbojpeg.h')
def configure(self, state: BuildState):
state.options['WITH_TURBOJPEG'] = 'NO'
opts = state.options
opts['ENABLE_SHARED'] = 'NO'
opts['WITH_TURBOJPEG'] = 'NO'
super().configure(state)