mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-16 08:55:06 +03:00
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:
parent
271598618d
commit
4a362ddeaa
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue