meson: fix 'gio-unix-2.0' dependency

pull/62/head
Cole Mickens 2018-10-26 23:19:58 -07:00
parent 0c9699b076
commit 0d0a3be483
2 changed files with 3 additions and 1 deletions

View File

@ -33,6 +33,7 @@ wayland_protos = dependency('wayland-protocols')
wlroots = dependency('wlroots', fallback: ['wlroots', 'wlroots']) wlroots = dependency('wlroots', fallback: ['wlroots', 'wlroots'])
gtkmm = dependency('gtkmm-3.0') gtkmm = dependency('gtkmm-3.0')
dbusmenu_gtk = dependency('dbusmenu-gtk3-0.4', required: get_option('dbusmenu-gtk')) dbusmenu_gtk = dependency('dbusmenu-gtk3-0.4', required: get_option('dbusmenu-gtk'))
giounix = dependency('gio-unix-2.0', required: get_option('dbusmenu-gtk'))
jsoncpp = dependency('jsoncpp') jsoncpp = dependency('jsoncpp')
sigcpp = dependency('sigc++-2.0') sigcpp = dependency('sigc++-2.0')
libnl = dependency('libnl-3.0', required: get_option('libnl')) libnl = dependency('libnl-3.0', required: get_option('libnl'))
@ -98,6 +99,7 @@ executable(
wayland_cursor, wayland_cursor,
gtkmm, gtkmm,
dbusmenu_gtk, dbusmenu_gtk,
giounix,
libnl, libnl,
libnlgen, libnlgen,
libpulse libpulse

View File

@ -62,7 +62,7 @@ client_protos_headers += gdbus_header.process('./dbus-menu.xml')
lib_client_protos = static_library( lib_client_protos = static_library(
'client_protos', 'client_protos',
client_protos_src + client_protos_headers, client_protos_src + client_protos_headers,
dependencies: [wayland_client, gtkmm], dependencies: [wayland_client, gtkmm, giounix],
include_directories: include_directories('..'), include_directories: include_directories('..'),
) # for the include directory ) # for the include directory