1
0
mirror of https://github.com/artizirk/wdisplays.git synced 2024-11-01 00:30:59 +02:00
wdisplays/src/meson.build

22 lines
408 B
Meson
Raw Normal View History

2019-07-06 05:51:52 +03:00
cc = meson.get_compiler('c')
m_dep = cc.find_library('m', required : false)
gdk = dependency('gdk-3.0')
gtk = dependency('gtk+-3.0')
assert(gdk.get_pkgconfig_variable('targets').split().contains('wayland'), 'Wayland GDK backend not present')
executable(
'wdisplay',
[
'main.c',
'outputs.c',
resources,
],
dependencies : [
m_dep,
wayland_client,
client_protos,
gtk
]
)