[libcamera-devel] [PATCH v2 1/4] meson: Process utils first
Kieran Bingham
kieran.bingham at ideasonboard.com
Wed Sep 23 16:39:46 CEST 2020
The utils directory can contain helpers and support tools which are used
throughout other components of the build.
Ensure that the utils subdir is parsed first allowing helpers to be
defined there.
Signed-off-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
meson.build | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index c58d458ca0ff..dd71390baba5 100644
--- a/meson.build
+++ b/meson.build
@@ -101,9 +101,11 @@ add_project_link_arguments(cpp_arguments, language : 'cpp')
libcamera_includes = include_directories('include')
+# Utilities are parsed first to provide support for other components.
+subdir('utils')
+
subdir('include')
subdir('src')
-subdir('utils')
# The documentation and test components are optional and can be disabled
# through configuration values. They are enabled by default.
--
2.25.1
More information about the libcamera-devel
mailing list