mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Merge branch 'subprojects-dir' into 'main'
meson: help gobject-introspection locate source and build dirs See merge request GNOME/glib!3505
This commit is contained in:
commit
04f81e167e
@ -138,6 +138,12 @@ else
|
||||
glib_runstatedir = '/run'
|
||||
endif
|
||||
|
||||
# When building glib and gobject-introspection with subprojects, gobject-introspection
|
||||
# requires to know the path of the sources and the build directory for the subproject.
|
||||
# We provide it here with a variable.
|
||||
glib_source_dir = meson.current_source_dir()
|
||||
glib_build_dir = meson.current_build_dir()
|
||||
|
||||
installed_tests_metadir = join_paths(glib_datadir, 'installed-tests', meson.project_name())
|
||||
installed_tests_execdir = join_paths(glib_libexecdir, 'installed-tests', meson.project_name())
|
||||
installed_tests_enabled = get_option('installed_tests')
|
||||
|
Loading…
Reference in New Issue
Block a user