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:
Niklas Haas 2022-08-25 21:57:35 +02:00 committed by Niklas Haas
parent ed7717298b
commit 89cab5c32f
1 changed files with 1 additions and 1 deletions

View File

@ -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)