summaryrefslogtreecommitdiff
path: root/src/apps/lc-compliance/meson.build
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-01-09 16:30:31 +0200
committerKieran Bingham <kieran.bingham@ideasonboard.com>2024-01-09 15:33:38 +0000
commit4a362ddeaafd017237fc6136ebfabe17d1010989 (patch)
tree0072710320e504df41308a392a0c0cc2771fb6a0 /src/apps/lc-compliance/meson.build
parent271598618d81c99fa047f22297df56433321f9b7 (diff)
lc-compliance: Set minimum version for gtest dependency
lc-compliance depends on support for skipping tests in gtest (commit 00938b2b228f upstream, merged in v1.10.0). Set the corresponding minimum version for the gtest dependency. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/apps/lc-compliance/meson.build')
-rw-r--r--src/apps/lc-compliance/meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/apps/lc-compliance/meson.build b/src/apps/lc-compliance/meson.build
index dd7b73ab..c2afc09f 100644
--- a/src/apps/lc-compliance/meson.build
+++ b/src/apps/lc-compliance/meson.build
@@ -1,6 +1,7 @@
# SPDX-License-Identifier: CC0-1.0
-libgtest = dependency('gtest', required : get_option('lc-compliance'),
+libgtest = dependency('gtest', version : '>=1.10.0',
+ required : get_option('lc-compliance'),
fallback : ['gtest', 'gtest_dep'])
if opt_lc_compliance.disabled() or not libevent.found() or not libgtest.found()