From cdf990db75c44ed041c46cb54a4e9c2f3d2f87dc Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Sun, 22 Jan 2023 13:05:33 +0000 Subject: [PATCH] meson: Require specific version of aml --- meson.build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 8b3f115..b8a1c9c 100644 --- a/meson.build +++ b/meson.build @@ -57,11 +57,12 @@ libavcodec = dependency('libavcodec', required: get_option('h264')) libavfilter = dependency('libavfilter', required: get_option('h264')) libavutil = dependency('libavutil', required: get_option('h264')) -aml_project = subproject('aml', required: false) +aml_version = ['>=0.3.0', '<0.4.0'] +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 inc = include_directories('include')