meson_options: Autodetect pycamera support

The pycamera was defaulted to be disabled due to a requirement
on a specialised branch of the pybind dependency.

This requirement on a subproject has been removed and we can
now build the pycamera component provided that the distribution
packages pybind directly which is common.

Enable the pycamera build option to be selected automatically
when both Python and pybind are detected on the system.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Kieran Bingham 2024-02-23 17:47:18 +00:00
parent 36753f5cbb
commit 4d122bfbb7

View file

@ -53,7 +53,7 @@ option('pipelines',
option('pycamera',
type : 'feature',
value : 'disabled',
value : 'auto',
description : 'Enable libcamera Python bindings (experimental)')
option('qcam',