summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2021-11-09 15:52:12 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2021-11-19 13:16:25 +0000
commit3fedfab62f91b144c295b028ab47281b73a59cda (patch)
treefde1aa6bb818aec084cf2be622d2b0450b0cf1a8 /meson.build
parent5ea55a87fe9d1e02747cd2164e36a71da338a69d (diff)
downloadgnome-desktop-3fedfab62f91b144c295b028ab47281b73a59cda.tar.gz
build: Allow disabling the legacy libgnome-desktop-3.0
At some point, we're going to build only the 4.0 libraries except on older versions of GNOME.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 68613093..ba9a149b 100644
--- a/meson.build
+++ b/meson.build
@@ -48,7 +48,7 @@ test_execdir = libexecdir / 'installed-tests' / meson.project_name()
versiondir = datadir / 'gnome'
gdk_pixbuf_dep = dependency('gdk-pixbuf-2.0', version: gdk_pixbuf_req)
-gtk3_dep = dependency('gtk+-3.0', version: gtk3_req)
+gtk3_dep = dependency('gtk+-3.0', version: gtk3_req, required: get_option('legacy_library'))
gtk4_dep = dependency('gtk4', version: gtk4_req, required: get_option('build_gtk4'))
glib_dep = dependency('glib-2.0', version: glib_req)
gio_dep = dependency('gio-2.0', version: glib_req)