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>
This commit is contained in:
Laurent Pinchart 2024-01-09 16:30:31 +02:00 committed by Kieran Bingham
parent 271598618d
commit 4a362ddeaa

View file

@ -1,6 +1,7 @@
# SPDX-License-Identifier: CC0-1.0 # 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']) fallback : ['gtest', 'gtest_dep'])
if opt_lc_compliance.disabled() or not libevent.found() or not libgtest.found() if opt_lc_compliance.disabled() or not libevent.found() or not libgtest.found()