mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Meson: Fix build of gtkdoc
This requires change added in Meson 0.44.0 https://bugzilla.gnome.org/show_bug.cgi?id=786796
This commit is contained in:
parent
6d0210240a
commit
fa8d42de2e
@ -52,9 +52,12 @@ if get_option('with-docs') != 'no'
|
||||
'gnetworkmonitorbase.h',
|
||||
'gnetworkmonitornetlink.h',
|
||||
'gnetworkmonitornm.h',
|
||||
'gnetworkmonitorportal.h',
|
||||
'gnotificationbackend.h',
|
||||
'gnotification-private.h',
|
||||
'gosxappinfo.h',
|
||||
'gpollfilemonitor.h',
|
||||
'gproxyresolverportal.h',
|
||||
'gregistrysettingsbackend.h',
|
||||
'gresourcefile.h',
|
||||
'gsettingsbackendinternal.h',
|
||||
|
@ -72,12 +72,15 @@ if get_option('with-docs') != 'no'
|
||||
configuration: version_conf
|
||||
)
|
||||
|
||||
gtkdocincl = include_directories('.')
|
||||
|
||||
gnome.gtkdoc('gobject',
|
||||
main_xml : 'gobject-docs.xml',
|
||||
namespace : 'g',
|
||||
gobject_typesfile : join_paths(meson.current_source_dir(), 'gobject.types'),
|
||||
mode : 'none',
|
||||
dependencies : [libgobject_dep, libglib_dep],
|
||||
include_directories : [gtkdocincl],
|
||||
src_dir : 'gobject',
|
||||
scan_args : [
|
||||
'--deprecated-guards=G_DISABLE_DEPRECATED',
|
||||
|
@ -1,6 +1,6 @@
|
||||
project('glib', 'c', 'cpp',
|
||||
version : '2.55.0',
|
||||
meson_version : '>= 0.38.1',
|
||||
meson_version : '>= 0.44.0',
|
||||
default_options : [
|
||||
'warning_level=1',
|
||||
'c_std=gnu89'
|
||||
|
Loading…
Reference in New Issue
Block a user