mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Merge branch 'glib-as-subproject' into 'master'
Meson: Add missing include_directories when using glib as subproject See merge request GNOME/glib!491
This commit is contained in:
commit
051c9ada8e
@ -857,7 +857,7 @@ endif
|
||||
libgio_dep = declare_dependency(link_with : libgio,
|
||||
dependencies : [gioenumtypes_dep],
|
||||
# We sadly need to export configinc here because everyone includes <gio/*.h>
|
||||
include_directories : [configinc, gioinc])
|
||||
include_directories : [configinc, glibinc, gobjectinc, gmoduleinc, gioinc])
|
||||
|
||||
if host_system == 'windows'
|
||||
# Hack till https://github.com/mesonbuild/meson/issues/2324 is fixed
|
||||
|
@ -140,4 +140,4 @@ pkg.generate(libraries : [libgmodule, export_dynamic_ldflags],
|
||||
)
|
||||
|
||||
libgmodule_dep = declare_dependency(link_with : libgmodule,
|
||||
include_directories : gmoduleinc)
|
||||
include_directories : [configinc, gmoduleinc, glibinc])
|
||||
|
@ -84,7 +84,7 @@ pkg.generate(libraries : libgobject,
|
||||
)
|
||||
|
||||
libgobject_dep = declare_dependency(link_with : libgobject,
|
||||
include_directories : gobjectinc)
|
||||
include_directories : [configinc, glibinc, gobjectinc])
|
||||
|
||||
python_tools = [
|
||||
'glib-genmarshal',
|
||||
|
Loading…
Reference in New Issue
Block a user