diff options
author | José Expósito <jose.exposito89@gmail.com> | 2023-08-23 11:58:22 +0200 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2024-02-08 05:08:47 +0000 |
commit | db56b508f25629ab1022038131758ce48e6daf82 (patch) | |
tree | 5deaaa53980d77c2a277225b022d1b34cfdc7040 /xf86driproto.pc.in | |
parent | cd33097fc779f280925c6d6bbfbd5150f93ca5bc (diff) |
meson: add header paths to declare_dependency
The `install_headers()` function is used to install the headers present
in `include/<subdirectory>`.
However, when `xorgproto` is used as a subproject, the headers are not
copied and the parent project is not able to find the headers included
in subdirectories.
For example, this error is generated when `xserver` is built with
`xorgproto` as a subproject:
fatal error: xf86dri.h: No such file or directory
41 | #include "xf86dri.h"
| ^~~~~~~~~~~
This is a known issue present in Meson:
https://github.com/mesonbuild/meson/issues/2546
To workaround the issue, add the required subdirectories to
`declare_dependency()`.
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Diffstat (limited to 'xf86driproto.pc.in')
0 files changed, 0 insertions, 0 deletions