summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2022-08-25 21:57:35 +0200
committerNiklas Haas <github-daiK1o@haasn.dev>2022-08-26 02:24:20 +0200
commit89cab5c32f1cf478dde739950d2d749c08d623ce (patch)
tree9e8e5236f3f2cbef24a8d76753fae91097f0fcb5
parented7717298bd32316065bc1718092d75123a891e6 (diff)
downloadmpv-89cab5c32f1cf478dde739950d2d749c08d623ce.tar.bz2
mpv-89cab5c32f1cf478dde739950d2d749c08d623ce.tar.xz
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.
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 3d78eec5dd..8554573bfa 100644
--- a/meson.build
+++ b/meson.build
@@ -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)