meson: drop unnecessary option

Co-authored-by: Barnabás Pőcze <pobrn@protonmail.com>
This commit is contained in:
Dmitry Sharshakov 2022-11-09 19:47:42 +03:00 committed by Wim Taymans
parent 3d971b4024
commit 57f19959a7
2 changed files with 1 additions and 8 deletions

View file

@ -168,8 +168,6 @@ option('libcamera',
description: 'Enable libcamera spa plugin integration',
type: 'feature',
value: 'auto')
option('system-libcamera', type : 'boolean', value : 'true',
description : 'Use libcamera from the system instead of building from source')
option('videoconvert',
description: 'Enable videoconvert spa plugin integration',
type: 'feature',

View file

@ -89,12 +89,7 @@ if get_option('spa-plugins').allowed()
vulkan_headers = cc.has_header('vulkan/vulkan.h', dependencies : vulkan_dep)
#summary({'Vulkan': vulkan_headers}, bool_yn: true, section: 'Misc dependencies')
if get_option('system-libcamera')
libcamera_dep = dependency('libcamera', required: get_option('libcamera'))
else
libcamera_proj = subproject('libcamera')
libcamera_dep = libcamera_proj.get_variable('libcamera_public')
endif
libcamera_dep = dependency('libcamera', required: get_option('libcamera'))
summary({'libcamera': libcamera_dep.found()}, bool_yn: true, section: 'Backend')
tinycompress_dep = cc.find_library('tinycompress', has_headers: ['tinycompress/tinycompress.h' ], required: get_option('compress-offload'))