summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/libcamera/meson.build6
-rw-r--r--src/libcamera/meson.build9
2 files changed, 10 insertions, 5 deletions
diff --git a/include/libcamera/meson.build b/include/libcamera/meson.build
index 8fb21e98..8c82675a 100644
--- a/include/libcamera/meson.build
+++ b/include/libcamera/meson.build
@@ -1,6 +1,6 @@
-public_api = [
+libcamera_api = files([
'libcamera.h',
-]
+])
-install_headers(public_api,
+install_headers(libcamera_api,
subdir : 'libcamera')
diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build
index fe38f8b2..0c44b5ab 100644
--- a/src/libcamera/meson.build
+++ b/src/libcamera/meson.build
@@ -1,14 +1,19 @@
-sources = files([
+libcamera_sources = files([
'log.cpp',
'main.cpp',
])
+libcamera_headers = files([
+ 'include/log.h',
+ 'include/utils.h',
+])
+
includes = [
libcamera_includes,
include_directories('include'),
]
libcamera = shared_library('camera',
- sources,
+ libcamera_sources,
install : true,
include_directories : includes)