summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2018-11-26 10:32:13 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2018-11-27 12:10:57 +0000
commit66051636c5754a33a812d9f306935e29397e0009 (patch)
treea93234cc52cf3e53c0ba9d6691553aac14ad0fde /include
parent88c35c90847c9cdd7d0cbee80f45ed32f1811189 (diff)
include: Install include files
The include directory was defined but not installed. Add it to the meson build structure to incorporate it as part of the library install. To facilitate the same include paths in our internal includes, update the structure for headers to match the install structure. Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/libcamera.h (renamed from include/libcamera.h)0
-rw-r--r--include/libcamera/meson.build6
-rw-r--r--include/meson.build1
3 files changed, 7 insertions, 0 deletions
diff --git a/include/libcamera.h b/include/libcamera/libcamera.h
index d5b34a2c..d5b34a2c 100644
--- a/include/libcamera.h
+++ b/include/libcamera/libcamera.h
diff --git a/include/libcamera/meson.build b/include/libcamera/meson.build
new file mode 100644
index 00000000..da685f34
--- /dev/null
+++ b/include/libcamera/meson.build
@@ -0,0 +1,6 @@
+public_api = [
+ 'libcamera.h',
+]
+
+install_headers(public_api,
+ subdir : 'libcamera')
diff --git a/include/meson.build b/include/meson.build
new file mode 100644
index 00000000..4ce9668c
--- /dev/null
+++ b/include/meson.build
@@ -0,0 +1 @@
+subdir('libcamera')