xserver-multidpi/dri3/meson.build
Thierry Reding 88c7b8bf4b meson: Distribute more SDK headers
Install missing headers to the SDK directory to allow external modules
to properly build against the SDK. After this commit, the list of files
installed in the SDK include directory is the same as the list of files
installed by the autotools-based build.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-04-02 13:42:08 -04:00

22 lines
392 B
Meson

srcs_dri3 = [
'dri3.c',
'dri3_request.c',
'dri3_screen.c',
]
hdrs_dri3 = [
'dri3.h',
]
libxserver_dri3 = []
if build_dri3
libxserver_dri3 = static_library('libxserver_dri3',
srcs_dri3,
include_directories: inc,
dependencies: [ common_dep, libdrm_dep ],
c_args: '-DHAVE_XORG_CONFIG_H'
)
endif
install_data(hdrs_dri3, install_dir: xorgsdkdir)