diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2021-03-05 22:50:51 +0000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2021-03-11 00:22:36 +0000 |
commit | 376eaadde36f80fcbe6b0391a3385e77b4602854 (patch) | |
tree | bdaeb7480122904d2a2a7af1de059abf4306d273 /mi | |
parent | 4ae36f418ed683532b0b6991e4a1e7d56740b845 (diff) | |
download | xserver-376eaadde36f80fcbe6b0391a3385e77b4602854.tar.gz |
meson: hide C API if Xorg is disabled (like autotools)
When building only Xwayland using Meson some files are always installed.
This causes package conflict if Xwayland is built separately from Xorg.
include/xorg/compositeext.h
include/xorg/damage.h
include/xorg/damagestr.h
include/xorg/dbestruct.h
include/xorg/dri3.h
include/xorg/fb.h
include/xorg/fboverlay.h
include/xorg/fbpict.h
include/xorg/fbrop.h
include/xorg/geext.h
include/xorg/geint.h
include/xorg/glyphstr.h
include/xorg/mi.h
include/xorg/micmap.h
include/xorg/micoord.h
include/xorg/migc.h
include/xorg/miline.h
include/xorg/mioverlay.h
include/xorg/mipict.h
include/xorg/mipointer.h
include/xorg/mipointrst.h
include/xorg/mistruct.h
include/xorg/misync.h
include/xorg/misyncfd.h
include/xorg/misyncshm.h
include/xorg/misyncstr.h
include/xorg/mizerarc.h
include/xorg/panoramiX.h
include/xorg/panoramiXsrv.h
include/xorg/picture.h
include/xorg/picturestr.h
include/xorg/present.h
include/xorg/presentext.h
include/xorg/randrstr.h
include/xorg/rrtransform.h
include/xorg/shadow.h
include/xorg/shmint.h
include/xorg/syncsdk.h
include/xorg/vndserver.h
include/xorg/wfbrename.h
include/xorg/xace.h
include/xorg/xacestr.h
include/xorg/xorg-server.h
include/xorg/xvdix.h
include/xorg/xvmcext.h
share/aclocal/xorg-server.m4
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Diffstat (limited to 'mi')
-rw-r--r-- | mi/meson.build | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mi/meson.build b/mi/meson.build index 73b196ad0..9f97d149c 100644 --- a/mi/meson.build +++ b/mi/meson.build @@ -51,4 +51,6 @@ libxserver_mi = static_library('libxserver_mi', ], ) -install_data(hdrs_mi, install_dir: xorgsdkdir) +if build_xorg + install_data(hdrs_mi, install_dir: xorgsdkdir) +endif |