Skip to content

Commit a8bc540

Browse files
Barnabás Pőczekbingham
authored andcommitted
Documentation: Fix INCLUDE_PATH doxygen configuration option
libcamera header files should be included using the `libcamera/...` prefix. However, `INCLUDE_PATH` is currently set to `@TOP_SRCDIR@/include/libcamera` meaning that doxygen, when encountering `libcamera/x.h`, will try to open `@TOP_SRCDIR@/include/libcamera/libcamera/x.h`, which is not the correct path. Fix that by using `@TOP_{BUILD,SRC}DIR@/include`. This removes the extra `libcamera` component from the path and adds the corresponding directory from the build directory as well since that is an implicit include directory added by meson. Signed-off-by: Barnabás Pőcze <[email protected]> Reviewed-by: Kieran Bingham <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Kieran Bingham <[email protected]>
1 parent 59ac34b commit a8bc540

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/Doxyfile-common.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ GENERATE_LATEX = NO
5757
MACRO_EXPANSION = YES
5858
EXPAND_ONLY_PREDEF = YES
5959

60-
INCLUDE_PATH = "@TOP_SRCDIR@/include/libcamera"
60+
INCLUDE_PATH = "@TOP_BUILDDIR@/include" \
61+
"@TOP_SRCDIR@/include"
6162
INCLUDE_FILE_PATTERNS = *.h
6263

6364
IMAGE_PATH = "@TOP_SRCDIR@/Documentation/images"

0 commit comments

Comments
 (0)