diff options
author | Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> | 2022-05-18 16:13:12 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-05-18 17:52:27 +0300 |
commit | ed3a440177bef2be8aa079f6915939be7a223125 (patch) | |
tree | b4277002c576ae5d89f1ef90cd01460912bc45bd | |
parent | f4783e689918abf6f470f4bcaaadaf3c2400dff4 (diff) |
py: meson: Use files() for custom_target input files
Use files() for the input files for the custom_target(). I believe the
current code works, but perhaps it is safer to use files() here.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r-- | src/py/libcamera/meson.build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/py/libcamera/meson.build b/src/py/libcamera/meson.build index 2fc2eaec..cd20bb00 100644 --- a/src/py/libcamera/meson.build +++ b/src/py/libcamera/meson.build @@ -17,10 +17,10 @@ pycamera_sources = files([ 'pymain.cpp', ]) -gen_input_files = [ - meson.project_source_root() / 'src' / 'libcamera' / 'control_ids.yaml', +gen_input_files = files([ + '../../libcamera/control_ids.yaml', 'pyenums_generated.cpp.in', -] +]) gen_py_control_enums = files('gen-py-control-enums.py') |