[libsoup/wip/meson: 66/75] meson: Check whether we are building libsoup-gnome properly



commit de4c72577913ce621c1765d0f7c3591e5ac188b8
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Tue Nov 28 18:02:21 2017 +0800

    meson: Check whether we are building libsoup-gnome properly
    
    Just check whether enable_gnome is true.

 libsoup/meson.build |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libsoup/meson.build b/libsoup/meson.build
index 0547d04..99bbe2e 100644
--- a/libsoup/meson.build
+++ b/libsoup/meson.build
@@ -201,7 +201,7 @@ libsoup_dep = declare_dependency(link_with : libsoup,
   include_directories : configinc,
   sources : soup_enums)
 
-if cdata.get('BUILD_LIBSOUP_GNOME')
+if enable_gnome
   includedir = 'libsoup-gnome-@0@/libsoup'.format(apiversion)
   install_headers(
     soup_gnome_headers + ['soup-gnome.h', 'soup-gnome-features.h'],
@@ -373,7 +373,7 @@ if get_option('introspection') or get_option('vapi')
     )
   endif
 
-  if get_option('gnome')
+  if enable_gnome
     gir_gnome_args = libsoup_c_args + [
       '--identifier-prefix=Soup',
       '--symbol-prefix=soup',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]