Move dependency declaration to top-level meson file
Otherwise meson won't detect it.
This commit is contained in:
parent
d4906288ce
commit
e4ff08ba9d
|
@ -13,3 +13,9 @@ include_dir = join_paths(prefix, get_option('includedir'), 'd', 'ddbus')
|
|||
dbus_dep = dependency('dbus-1')
|
||||
|
||||
subdir('source/ddbus')
|
||||
|
||||
ddbus_dep = declare_dependency(
|
||||
include_directories: src_inc,
|
||||
link_with: ddbus_lib
|
||||
)
|
||||
|
||||
|
|
|
@ -19,11 +19,6 @@ ddbus_lib = library(
|
|||
include_directories: src_inc,
|
||||
)
|
||||
|
||||
ddbus_dep = declare_dependency(
|
||||
include_directories: src_inc,
|
||||
link_with: ddbus_lib
|
||||
)
|
||||
|
||||
pkgc = import('pkgconfig')
|
||||
|
||||
pkgc.generate(
|
||||
|
|
Loading…
Reference in a new issue