From f305cacc9c442358acd2c604817206cf7eeaabe0 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Tue, 11 Jun 2024 14:55:37 +0300 Subject: 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 Reviewed-by: Kieran Bingham Reviewed-by: Paul Elder --- src/ipa/rkisp1/meson.build | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/ipa/rkisp1/meson.build') diff --git a/src/ipa/rkisp1/meson.build b/src/ipa/rkisp1/meson.build index cf05cdb2..e8b266f1 100644 --- a/src/ipa/rkisp1/meson.build +++ b/src/ipa/rkisp1/meson.build @@ -16,9 +16,8 @@ rkisp1_ipa_sources += rkisp1_ipa_algorithms mod = shared_module(ipa_name, [rkisp1_ipa_sources, libcamera_generated_ipa_headers], name_prefix : '', - include_directories : [ipa_includes, libipa_includes], - dependencies : libcamera_private, - link_with : libipa, + include_directories : [ipa_includes], + dependencies : [libcamera_private, libipa_dep], install : true, install_dir : ipa_install_dir) -- cgit v1.2.1