From 1e9b531ad9804d058942f24fa77376966593458c Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Sun, 22 Jan 2023 13:11:08 +0000 Subject: [PATCH] meson: Require specific versions of aml and neatvnc --- meson.build | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/meson.build b/meson.build index 34cbfb8..5e0985c 100644 --- a/meson.build +++ b/meson.build @@ -53,7 +53,8 @@ xkbcommon = dependency('xkbcommon', version: '>=1.0.0') wayland_client = dependency('wayland-client') jansson = dependency('jansson') -neatvnc_version = '>=0.5.0' +aml_version = ['>=0.3.0', '<0.4.0'] +neatvnc_version = ['>=0.6.0', '<0.7.0'] neatvnc_project = subproject( 'neatvnc', @@ -61,11 +62,11 @@ neatvnc_project = subproject( version: neatvnc_version, ) -aml_project = subproject('aml', required: false) +aml_project = subproject('aml', required: false, version: aml_version) if aml_project.found() aml = aml_project.get_variable('aml_dep') else - aml = dependency('aml') + aml = dependency('aml', version: aml_version) endif if neatvnc_project.found()