summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-08-05 00:57:41 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-08-07 17:57:15 +0300
commit29455194d64f57c32764b7aa9cb8c10d97e9c957 (patch)
treec0a65f48150541c167b69e7d054beee902cf2bbc /include
parent88e5bf8279c418a943f80982fb0fc21a2c2997e2 (diff)
libcamera: Add version.h to public headers
The generated version.h header is part of the public headers, but is missing from the libcamera_public_headers variable. Add it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/meson.build9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/libcamera/meson.build b/include/libcamera/meson.build
index 84c6c4cb..c8c900eb 100644
--- a/include/libcamera/meson.build
+++ b/include/libcamera/meson.build
@@ -120,7 +120,8 @@ libcamera_version_config.set('LIBCAMERA_VERSION_MAJOR', version[0])
libcamera_version_config.set('LIBCAMERA_VERSION_MINOR', version[1])
libcamera_version_config.set('LIBCAMERA_VERSION_PATCH', version[2])
-configure_file(input : 'version.h.in',
- output : 'version.h',
- configuration : libcamera_version_config,
- install_dir : libcamera_headers_install_dir)
+version_h = configure_file(input : 'version.h.in',
+ output : 'version.h',
+ configuration : libcamera_version_config,
+ install_dir : libcamera_headers_install_dir)
+libcamera_public_headers += version_h