mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-02-18 00:10:36 +01:00
meson: Declare dependency
Allow other Meson project to consume libdbus as subproject. For this we need to instantiate a dependency object. Signed-off-by: Daniel Wagner <dwagner@suse.de>
This commit is contained in:
parent
a33ce73f1f
commit
6a774fbb79
1 changed files with 6 additions and 0 deletions
|
|
@ -203,6 +203,12 @@ libdbus = library('dbus-1',
|
|||
install: true,
|
||||
)
|
||||
|
||||
libdbus_dep = declare_dependency(
|
||||
include_directories: root_include,
|
||||
dependencies: dbus_dependencies,
|
||||
link_with: libdbus,
|
||||
)
|
||||
|
||||
libdbus_internal = static_library('dbus-internal',
|
||||
dbus_util_sources,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue