[libcamera-devel] [PATCH] pkgconfig: Fix include directory path

Nicolas Dufresne nicolas at ndufresne.ca
Thu May 7 16:48:52 CEST 2020


From: Nicolas Dufresne <nicolas.dufresne at collabora.com>

Should be $includedir/libcamera, as we install into a subdirectory name
'libcamera'. This is fixed by passing the 'subdirs' argument to the pkgconfig
generator.

Signed-off-by: Nicolas Dufresne <nicolas.dufresne at collabora.com>
---
 meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 6c571a1..59829e1 100644
--- a/meson.build
+++ b/meson.build
@@ -116,4 +116,5 @@ pkg_mod.generate(libraries : libcamera,
                  version : '1.0',
                  name : 'libcamera',
                  filebase : 'camera',
-                 description : 'Complex Camera Support Library')
+                 description : 'Complex Camera Support Library',
+                 subdirs : 'libcamera')
-- 
2.26.2



More information about the libcamera-devel mailing list