diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2020-01-07 11:28:00 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2020-01-09 11:02:17 -0800 |
commit | cd895be99a7917e8c052ec7bb6088704c87783ae (patch) | |
tree | 37710d4c905fa0d22c27b37d92d36908554109e5 /mesonbuild/modules/gnome.py | |
parent | ff822990d1af6ff6c6f7ae3f2efa9012d4b14bf9 (diff) | |
download | meson-cd895be99a7917e8c052ec7bb6088704c87783ae.zip meson-cd895be99a7917e8c052ec7bb6088704c87783ae.tar.gz meson-cd895be99a7917e8c052ec7bb6088704c87783ae.tar.bz2 |
dependencies: Add ability to set arbitrary variables on
declare_dependencies
This allows dependencies declared in subprojects to set variables, and
for those variables to be accessed via the get_variable method, just
like those from pkg-config and cmake. This makes it easier to use
projects from subprojects in a polymorphic manner, lowering the
distinction between a subproject and an external dependency every
further.
Diffstat (limited to 'mesonbuild/modules/gnome.py')
-rw-r--r-- | mesonbuild/modules/gnome.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py index 9bd7a99..3d5d718 100644 --- a/mesonbuild/modules/gnome.py +++ b/mesonbuild/modules/gnome.py @@ -1692,7 +1692,7 @@ G_END_DECLS''' # - add relevant directories to include dirs incs = [build.IncludeDirs(state.subdir, ['.'] + vapi_includes, False)] sources = [vapi_target] + vapi_depends - rv = InternalDependency(None, incs, [], [], link_with, [], sources, []) + rv = InternalDependency(None, incs, [], [], link_with, [], sources, [], {}) created_values.append(rv) return ModuleReturnValue(rv, created_values) |