[libcamera-devel,2/2] build: Define library private include path

Message ID 1545212036-22541-3-git-send-email-jacopo@jmondi.org
State Accepted
Commit 7dc517ca6beefa4c72224c302eba6699fa878c30
Headers show
Series
  • Add headers from Linux v4.19
Related show

Commit Message

Jacopo Mondi Dec. 19, 2018, 9:33 a.m. UTC
Separate declaration of library internal inclusion path.
This will be used by tests, developed outside of library code, that need to
include parts of the library internal APIs and can re-use the here defined
variable.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
---
 src/libcamera/meson.build | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Patch

diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build
index 0c44b5a..f632eb5 100644
--- a/src/libcamera/meson.build
+++ b/src/libcamera/meson.build
@@ -8,9 +8,11 @@  libcamera_headers = files([
     'include/utils.h',
 ])
 
+libcamera_internal_includes =  include_directories('include')
+
 includes = [
     libcamera_includes,
-    include_directories('include'),
+    libcamera_internal_includes,
 ]
 
 libcamera = shared_library('camera',