summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2019-10-04 17:54:43 +0200
committerJacopo Mondi <jacopo@jmondi.org>2019-10-08 15:37:15 +0200
commitecbe309b06b68ebf217c7aeead77ad8a7a056e89 (patch)
tree75758b8017632f33fa4d593b04e2c8e37ee728ed
parentb999161b7de5641733dae35ca12e1aa9796108e0 (diff)
ipa: meson: Give IPAs access to internal libcamera APIs
Open source IPA implementations can benefit from usage of libcamera internal APIs. Allow this by compiling against the internal headers and linking against libcamera. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
-rw-r--r--src/ipa/meson.build8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ipa/meson.build b/src/ipa/meson.build
index b5bcd7b2..ac16e1da 100644
--- a/src/ipa/meson.build
+++ b/src/ipa/meson.build
@@ -5,10 +5,16 @@ ipa_vimc_sources = [
ipa_install_dir = join_paths(get_option('libdir'), 'libcamera')
+ipa_includes = [
+ libcamera_includes,
+ libcamera_internal_includes,
+]
+
foreach t : ipa_vimc_sources
ipa = shared_module(t[0], 'ipa_vimc.cpp',
name_prefix : '',
- include_directories : libcamera_includes,
+ include_directories : ipa_includes,
+ dependencies : libcamera_dep,
install : true,
install_dir : ipa_install_dir,
cpp_args : '-DLICENSE="' + t[1] + '"')