mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-23 00:25:07 +03:00
include: libcamera: meson: Add libcamera.h to the libcamera_api array
The libcamera_api array is meant to contain all the headers from the libcamera public API, for the purpose of generating documentation and creating the libcamera_dep dependency. libcamera.h is part of the libcamera public API, add it to the array. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
parent
4ed6876643
commit
434bbe75dc
2 changed files with 3 additions and 1 deletions
|
@ -55,6 +55,8 @@ libcamera_h = custom_target('gen-header',
|
|||
install : true,
|
||||
install_dir : join_paths('include', include_dir))
|
||||
|
||||
libcamera_api += libcamera_h
|
||||
|
||||
version = libcamera_version.split('.')
|
||||
libcamera_version_config = configuration_data()
|
||||
libcamera_version_config.set('LIBCAMERA_VERSION_MAJOR', version[0])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue