summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/py/libcamera/meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/py/libcamera/meson.build b/src/py/libcamera/meson.build
index 842db1ed..0cd7c75b 100644
--- a/src/py/libcamera/meson.build
+++ b/src/py/libcamera/meson.build
@@ -22,10 +22,12 @@ gen_input_files = [
'pyenums_generated.cpp.in',
]
+gen_py_control_enums = files('gen-py-control-enums.py')
+
generated_sources = custom_target('py_gen_controls',
input : gen_input_files,
output : ['pyenums_generated.cpp'],
- command : ['gen-py-control-enums.py', '-o', '@OUTPUT@', '@INPUT@'])
+ command : [gen_py_control_enums, '-o', '@OUTPUT@', '@INPUT@'])
pycamera_sources += generated_sources