mirror of
https://github.com/artizirk/wdisplays.git
synced 2024-11-01 00:30:59 +02:00
22 lines
408 B
Meson
22 lines
408 B
Meson
|
|
||
|
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
|
||
|
]
|
||
|
)
|