meson: Allow building the glib as a subproject
This commit is contained in:
parent
2be716606b
commit
11db53c7b8
2 changed files with 9 additions and 3 deletions
|
@ -24,9 +24,10 @@ assemblyinfo='/AssemblyInfo.cs'
|
||||||
gacutil = find_program('gacutil')
|
gacutil = find_program('gacutil')
|
||||||
al = find_program('al')
|
al = find_program('al')
|
||||||
|
|
||||||
glib_dep = dependency('glib-2.0', version: glib_required_version)
|
glib_dep = dependency('glib-2.0', version: glib_required_version,
|
||||||
gio_dep = dependency('gio-2.0', version: glib_required_version)
|
fallback: ['glib', 'libglib_dep'])
|
||||||
mono_runtime_dep = dependency('mono', required: false)
|
gio_dep = dependency('gio-2.0', version: glib_required_version,
|
||||||
|
fallback: ['glib', 'libgio_dep'])
|
||||||
|
|
||||||
# FIXME Check how to enabled debug flags (if at all needed).
|
# FIXME Check how to enabled debug flags (if at all needed).
|
||||||
|
|
||||||
|
|
5
subprojects/glib.wrap
Normal file
5
subprojects/glib.wrap
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
[wrap-git]
|
||||||
|
directory=glib
|
||||||
|
url=git://git.gnome.org/glib
|
||||||
|
push-url=ssh://git.gnome.org/git/glib
|
||||||
|
revision=origin/master
|
Loading…
Reference in a new issue