[gssdp/wip/meson: 12/12] meson: Port configure options
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gssdp/wip/meson: 12/12] meson: Port configure options
- Date: Sun, 30 Apr 2017 05:07:58 +0000 (UTC)
commit ca792057f28dfb3b211e94d47780ad26638811b4
Author: Jens Georg <mail jensge org>
Date: Sun Apr 30 07:05:45 2017 +0200
meson: Port configure options
meson.build | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/meson.build b/meson.build
index 04dd3d7..5a286e0 100644
--- a/meson.build
+++ b/meson.build
@@ -80,12 +80,18 @@ glib_dep = dependency('glib-2.0', version : '>= 2.32')
gobject_dep = dependency('gobject-2.0', version : '>= 2.32')
gio_dep = dependency('gio-2.0', version : '>= 2.32')
soup_dep = dependency('libsoup-2.4', version : '>= 2.26.1')
-gtk = dependency('gtk+-3.0', version : '>= 3.12', required: false)
+
+if not get_option('without-gtk')
+ gtk = dependency('gtk+-3.0', version : '>= 3.12', required: false)
+endif
subdir('libgssdp')
subdir('tests')
-if (gtk.found())
+if not get_option('without-gtk') and gtk.found()
subdir('tools')
endif
subdir('vala')
-subdir('doc')
+
+if get_option('enable-gtk-doc')
+ subdir('doc')
+endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]