summaryrefslogtreecommitdiff
path: root/mesonbuild/templates/cpptemplates.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2025-01-06 15:48:33 -0800
committerDylan Baker <dylan@pnwbakers.com>2025-01-08 10:04:43 -0800
commitd1422509fc00450928e7a8c40b4fbacc05464f68 (patch)
tree9facaef6e4fa094cf679766cf427144cd19dbab3 /mesonbuild/templates/cpptemplates.py
parent9f0ac314ba0c54cc18c2499845324efc14c1849e (diff)
downloadmeson-d1422509fc00450928e7a8c40b4fbacc05464f68.tar.gz
templates: add meson.override_dependency()
Diffstat (limited to 'mesonbuild/templates/cpptemplates.py')
-rw-r--r--mesonbuild/templates/cpptemplates.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/templates/cpptemplates.py b/mesonbuild/templates/cpptemplates.py
index 2e16f8d0d..bb09bcb09 100644
--- a/mesonbuild/templates/cpptemplates.py
+++ b/mesonbuild/templates/cpptemplates.py
@@ -141,6 +141,7 @@ test('{test_name}', test_exe)
dependencies : dependencies,
link_with : shlib,
)
+meson.override_dependency('{project_name}', {ltoken}_dep)
# Make this library usable from the system's
# package manager.