mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-16 08:55:06 +03:00
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>
This commit is contained in:
parent
b999161b7d
commit
ecbe309b06
1 changed files with 7 additions and 1 deletions
|
@ -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] + '"')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue