src/wayland/meta-wayland-surface.h:25:10: fatal error: wayland-server.h: No such file or directory
Hello,
When trying to compile without wayland support, the build fails with:
FAILED: src/25a6634@@mutter-5@sha/compositor_compositor.c.o
cc -Isrc/25a6634@@mutter-5@sha -Isrc -I../src -I. -I../ -Iclutter -I../clutter -Iclutter/clutter -I../clutter/clutter -Icogl -I../cogl -Icogl/cogl -I../cogl/cogl -Isrc/meta -I/usr/include/glib-2.0 -I/usr/lib/i386-gnu/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/gsettings-desktop-schemas -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/gnome-desktop-3.0 -I/usr/include/gnome-settings-daemon-3.0 -I/usr/include/json-glib-1.0 -I/usr/include/startup-notification-1.0 -I/usr/include/gobject-introspection-1.0 -fvisibility=hidden -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -ffloat-store -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/home/bigon/mutter-3.34.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -D_REENTRANT -DCLUTTER_ENABLE_COMPOSITOR_API -DCLUTTER_ENABLE_EXPERIMENTAL_API -DCOGL_ENABLE_EXPERIMENTAL_API -DCOGL_ENABLE_EXPERIMENTAL_2_0_API -DCOGL_ENABLE_MUTTER_API -DCLUTTER_DISABLE_DEPRECATION_WARNINGS -DCOGL_DISABLE_DEPRECATION_WARNINGS '-DG_LOG_DOMAIN="mutter"' -DSN_API_NOT_YET_FROZEN=1 '-DGETTEXT_PACKAGE="mutter"' -DWITH_VERBOSE_MODE -MD -MQ 'src/25a6634@@mutter-5@sha/compositor_compositor.c.o' -MF 'src/25a6634@@mutter-5@sha/compositor_compositor.c.o.d' -o 'src/25a6634@@mutter-5@sha/compositor_compositor.c.o' -c ../src/compositor/compositor.c
In file included from ../src/compositor/meta-window-actor-wayland.h:27,
from ../src/compositor/compositor.c:66:
../src/wayland/meta-wayland-surface.h:25:10: fatal error: wayland-server.h: No such file or directory
25 | #include <wayland-server.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.