Move dependency declaration to top-level meson file

Otherwise meson won't detect it.
This commit is contained in:
Chris Josten 2021-03-01 15:40:04 +01:00
parent d4906288ce
commit e4ff08ba9d
2 changed files with 6 additions and 5 deletions

View file

@ -13,3 +13,9 @@ include_dir = join_paths(prefix, get_option('includedir'), 'd', 'ddbus')
dbus_dep = dependency('dbus-1') dbus_dep = dependency('dbus-1')
subdir('source/ddbus') subdir('source/ddbus')
ddbus_dep = declare_dependency(
include_directories: src_inc,
link_with: ddbus_lib
)

View file

@ -19,11 +19,6 @@ ddbus_lib = library(
include_directories: src_inc, include_directories: src_inc,
) )
ddbus_dep = declare_dependency(
include_directories: src_inc,
link_with: ddbus_lib
)
pkgc = import('pkgconfig') pkgc = import('pkgconfig')
pkgc.generate( pkgc.generate(