mirror of https://github.com/mpv-player/mpv
meson: set default options for libplacebo if using subproject
This will prevent building demos and link statically with libplacebo by default if system libplacebo is not found or isn't new enough and a sufficiently new enough libplacebo exists in `subprojects/libplacebo`.
This commit is contained in:
parent
ca5f7d2b4b
commit
a85efa64f0
|
@ -23,7 +23,8 @@ libavutil = dependency('libavutil', version: '>= 56.70.100')
|
||||||
libswresample = dependency('libswresample', version: '>= 3.9.100')
|
libswresample = dependency('libswresample', version: '>= 3.9.100')
|
||||||
libswscale = dependency('libswscale', version: '>= 5.9.100')
|
libswscale = dependency('libswscale', version: '>= 5.9.100')
|
||||||
|
|
||||||
libplacebo = dependency('libplacebo', version: '>=6.338.2')
|
libplacebo = dependency('libplacebo', version: '>=6.338.2',
|
||||||
|
default_options: ['default_library=static', 'demos=false'])
|
||||||
|
|
||||||
libass = dependency('libass', version: '>= 0.12.2')
|
libass = dependency('libass', version: '>= 0.12.2')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue