summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
-rw-r--r--meson.build1
-rw-r--r--test/init.cpp2
5 files changed, 9 insertions, 1 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')
diff --git a/meson.build b/meson.build
index 4b3d528c..1f57b49d 100644
--- a/meson.build
+++ b/meson.build
@@ -4,6 +4,7 @@ project('libcamera - supporting complex camera pipelines', 'c', 'cpp',
inc = include_directories('include')
+subdir('include')
subdir('lib')
subdir('test')
subdir('utils')
diff --git a/test/init.cpp b/test/init.cpp
index 182728d3..8c8ec9ad 100644
--- a/test/init.cpp
+++ b/test/init.cpp
@@ -1,4 +1,4 @@
-#include <libcamera.h>
+#include <libcamera/libcamera.h>
int main(void)
{