diff options
author | Dudemanguy <random342@airmail.cc> | 2022-11-03 17:29:48 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2022-11-03 17:29:48 -0500 |
commit | c5b258b490f55c19a1cf6060bc7cf796d64f71e9 (patch) | |
tree | 777be63752e938af8a452f87b21c48091857c00d | |
parent | 2c53fb6a2be64fc8ba8c34a9e9a6b51d39d513c2 (diff) | |
download | mpv-c5b258b490f55c19a1cf6060bc7cf796d64f71e9.tar.bz2 mpv-c5b258b490f55c19a1cf6060bc7cf796d64f71e9.tar.xz |
meson: move dmabuf-wayland specific files under the right check
This doesn't need to be under the generic wayland check, but the
dmabuf-wayland one. Matches the waf build.
-rw-r--r-- | meson.build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meson.build b/meson.build index 2de7314f33..d1c5202dab 100644 --- a/meson.build +++ b/meson.build @@ -995,9 +995,6 @@ features += {'wayland': wayland_deps and wayland['header'] and wayland['scanner' if features['wayland'] subdir(join_paths('generated', 'wayland')) - sources += files('video/out/wldmabuf/context_wldmabuf.c') - sources += files('video/out/wldmabuf/ra_wldmabuf.c') - sources += files('video/out/wlbuf_pool.c') endif features += {'memfd_create': false} @@ -1405,6 +1402,9 @@ features += {'dmabuf-wayland' : features['wayland'] and features['memfd_create'] if features['dmabuf-wayland'] sources += files('video/out/vo_dmabuf_wayland.c') sources += files('video/out/hwdec/dmabuf_interop_wl.c') + sources += files('video/out/wldmabuf/context_wldmabuf.c') + sources += files('video/out/wldmabuf/ra_wldmabuf.c') + sources += files('video/out/wlbuf_pool.c') endif vdpau_opt = get_option('vdpau').require( |