diff --git a/libweston/backend-vnc/meson.build b/libweston/backend-vnc/meson.build index bb432068..a5706356 100644 --- a/libweston/backend-vnc/meson.build +++ b/libweston/backend-vnc/meson.build @@ -3,12 +3,12 @@ if not get_option('backend-vnc') endif config_h.set('BUILD_VNC_COMPOSITOR', '1') -dep_neatvnc = dependency('neatvnc', version: ['>= 0.6.0', '< 0.7.0'], required: false) +dep_neatvnc = dependency('neatvnc', version: ['>= 0.6.0', '< 0.7.0'], required: false, fallback: ['neatvnc', 'neatvnc_dep']) if not dep_neatvnc.found() error('VNC backend requires neatvnc which was not found. Or, you can use \'-Dbackend-vnc=false\'.') endif -dep_aml = dependency('aml', version: ['>= 0.3.0', '< 0.4.0'], required: false) +dep_aml = dependency('aml', version: ['>= 0.3.0', '< 0.4.0'], required: false, fallback: ['aml', 'aml_dep']) if not dep_aml.found() error('VNC backend requires libaml which was not found. Or, you can use \'-Dbackend-vnc=false\'.') endif