Only build Wayland protocols when we have Wayland

This commit is contained in:
Jasper St. Pierre 2014-08-27 12:05:51 -04:00
parent 4c08d9a53b
commit 4c8a408afc

View File

@ -36,11 +36,15 @@ mutter_built_sources = \
$(dbus_display_config_built_sources) \ $(dbus_display_config_built_sources) \
$(dbus_login1_built_sources) \ $(dbus_login1_built_sources) \
mutter-enum-types.h \ mutter-enum-types.h \
mutter-enum-types.c \ mutter-enum-types.c
if HAVE_WAYLAND
mutter_built_sources += \
gtk-shell-protocol.c \ gtk-shell-protocol.c \
gtk-shell-server-protocol.h \ gtk-shell-server-protocol.h \
xdg-shell-protocol.c \ xdg-shell-protocol.c \
xdg-shell-server-protocol.h xdg-shell-server-protocol.h
endif
wayland_protocols = \ wayland_protocols = \
wayland/protocol/gtk-shell.xml \ wayland/protocol/gtk-shell.xml \