diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-06-11 14:55:37 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-06-11 16:39:22 +0300 |
commit | f305cacc9c442358acd2c604817206cf7eeaabe0 (patch) | |
tree | 99ccfb291d7b5e5d09a8836b14d23949a76ca292 /src/ipa/libipa/meson.build | |
parent | fceaa7f3e2095a21170bcf5f113bac45cf89b91d (diff) |
meson: Group libipa and libipa_includes in a dependency object
Many build targets link with libipa and need libipa_includes. Group them
in a libipa_dep dependency object to simplify the users.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'src/ipa/libipa/meson.build')
-rw-r--r-- | src/ipa/libipa/meson.build | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ipa/libipa/meson.build b/src/ipa/libipa/meson.build index 7ce885da..b663afc7 100644 --- a/src/ipa/libipa/meson.build +++ b/src/ipa/libipa/meson.build @@ -25,3 +25,7 @@ libipa_includes = include_directories('..') libipa = static_library('ipa', [libipa_sources, libipa_headers], include_directories : ipa_includes, dependencies : libcamera_private) + +libipa_dep = declare_dependency(sources : libipa_headers, + include_directories : libipa_includes, + link_with : libipa) |