mirror of https://github.com/mpv-player/mpv
meson: fix libplacebo check
Missing waf quivalent, and doesn't necessarily output a good error message. But I might as well submit this rather than sitting on it unnecessarily.
This commit is contained in:
parent
ed7717298b
commit
89cab5c32f
|
@ -1227,7 +1227,7 @@ endif
|
|||
|
||||
# vulkan
|
||||
vulkan_opt = get_option('vulkan').require(
|
||||
libplacebo.found(),
|
||||
libplacebo.get_variable('pl_has_vulkan', default_value: '0') == '1',
|
||||
error_message: 'libplacebo could not be found!',
|
||||
)
|
||||
vulkan = dependency('vulkan', required: vulkan_opt)
|
||||
|
|
Loading…
Reference in New Issue