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 --- test/ipa/meson.build | 6 +++--- test/ipa/rkisp1/meson.build | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'test') diff --git a/test/ipa/meson.build b/test/ipa/meson.build index dc956284..fe21ca58 100644 --- a/test/ipa/meson.build +++ b/test/ipa/meson.build @@ -9,9 +9,9 @@ ipa_test = [ foreach test : ipa_test exe = executable(test['name'], test['sources'], libcamera_generated_ipa_headers, - dependencies : libcamera_private, - link_with : [libipa, test_libraries], - include_directories : [libipa_includes, test_includes_internal]) + dependencies : [libcamera_private, libipa_dep], + link_with : [test_libraries], + include_directories : [test_includes_internal]) test(test['name'], exe, suite : 'ipa') endforeach diff --git a/test/ipa/rkisp1/meson.build b/test/ipa/rkisp1/meson.build index 5ffc5dd6..5b08e293 100644 --- a/test/ipa/rkisp1/meson.build +++ b/test/ipa/rkisp1/meson.build @@ -6,9 +6,9 @@ rkisp1_ipa_test = [ foreach test : rkisp1_ipa_test exe = executable(test['name'], test['sources'], libcamera_generated_ipa_headers, - dependencies : libcamera_private, - link_with : [libipa, test_libraries], - include_directories : [libipa_includes, test_includes_internal, + dependencies : [libcamera_private, libipa_dep], + link_with : [test_libraries], + include_directories : [test_includes_internal, '../../../src/ipa/rkisp1/']) test(test['name'], exe, suite : 'ipa') -- cgit v1.2.1