spa: libcamera: add libcamera version check for properties::SystemDevices

This commit is contained in:
Robert Mader 2023-07-17 16:02:04 +02:00 committed by Wim Taymans
parent 6cd29aed05
commit 5bac089229
3 changed files with 6 additions and 0 deletions

View file

@ -94,6 +94,7 @@ if get_option('spa-plugins').allowed()
libcamera_dep = dependency('libcamera', required: get_option('libcamera'))
summary({'libcamera': libcamera_dep.found()}, bool_yn: true, section: 'Backend')
cdata.set('HAVE_LIBCAMERA_SYSTEM_DEVICES', libcamera_dep.version().version_compare('>= 0.1.0'))
compress_offload_option = get_option('compress-offload')
summary({'Compress-Offload': compress_offload_option.allowed()}, bool_yn: true, section: 'Backend')