summaryrefslogtreecommitdiff
path: root/config.h.meson
diff options
context:
space:
mode:
authorBilal Elmoussaoui <belmouss@redhat.com>2022-03-03 11:51:00 +0100
committerMarge Bot <marge-bot@gnome.org>2022-03-03 15:07:38 +0000
commit7717383deb58fdd25aa648932995b43a31148f80 (patch)
treec569934961dc630d1561a2cd19e4ef4a7c081b20 /config.h.meson
parentdaaeadcf4f93182f7e7dc6e6c9b237b965abb73b (diff)
downloadmutter-7717383deb58fdd25aa648932995b43a31148f80.tar.gz
meson: Allow to build without gnome-desktop
gnome-desktop is used to retrieve the monitor vendor name which in some use cases is not needed as it brings a bunch of gnome-desktop unwanted dependencies. The change makes mutter fallback to an "Undefined" vendor name if it is built without gnome-desktop Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2317>
Diffstat (limited to 'config.h.meson')
-rw-r--r--config.h.meson3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.meson b/config.h.meson
index 027ebc5b2..9119ad864 100644
--- a/config.h.meson
+++ b/config.h.meson
@@ -46,6 +46,9 @@
/* Defined if screen cast and remote desktop support is enabled */
#mesondefine HAVE_REMOTE_DESKTOP
+/* Defined if gnome-desktop is enabled */
+#mesondefine HAVE_GNOME_DESKTOP
+
/* Building with SM support */
#mesondefine HAVE_SM