mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-28 23:13:18 +08:00
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:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user