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:
llyyr 2024-02-11 01:14:46 +05:30 committed by sfan5
parent ca5f7d2b4b
commit a85efa64f0
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,8 @@ libavutil = dependency('libavutil', version: '>= 56.70.100')
libswresample = dependency('libswresample', version: '>= 3.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')