From 29316a66932ecd5c933994a1ab4385eb3f4ecbdd Mon Sep 17 00:00:00 2001
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Date: Mon, 5 Aug 2024 02:01:05 +0300
Subject: libcamera: Move IPA headers to the libcamera_private dependency

The IPA headers are listed in the libcamera_public and libcamera_private
dependency objects, with the generated headers part of the private
dependency object and the non-generated headers part of the public
dependency object. As neither set of IPA headers are part of the public
API, list them both in the libcamera_private dependency object.

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>
---
 src/libcamera/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build
index deffff35..61a97c73 100644
--- a/src/libcamera/meson.build
+++ b/src/libcamera/meson.build
@@ -207,7 +207,6 @@ libcamera = shared_library('libcamera',
                            dependencies : libcamera_deps)
 
 libcamera_public = declare_dependency(sources : [
-                                          libcamera_ipa_headers,
                                           libcamera_public_headers,
                                       ],
                                       include_directories : libcamera_includes,
@@ -216,6 +215,7 @@ libcamera_public = declare_dependency(sources : [
 
 # Internal dependency for components and plugins which can use private APIs
 libcamera_private = declare_dependency(sources : [
+                                           libcamera_ipa_headers,
                                            libcamera_generated_ipa_headers,
                                        ],
                                        dependencies : [
-- 
cgit v1.2.1