mirror of
https://github.com/artizirk/wdisplays.git
synced 2026-10-03 12:55:42 +03:00
fix deprecated meson syntax
This commit is contained in:
@@ -5,7 +5,7 @@ wayland_scanner = find_program('wayland-scanner')
|
||||
wayland_client = dependency('wayland-client')
|
||||
wayland_protos = dependency('wayland-protocols', version: '>=1.17')
|
||||
|
||||
wl_protocol_dir = wayland_protos.get_pkgconfig_variable('pkgdatadir')
|
||||
wl_protocol_dir = wayland_protos.get_variable('pkgdatadir')
|
||||
|
||||
wayland_scanner_code = generator(
|
||||
wayland_scanner,
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ m_dep = cc.find_library('m', required : false)
|
||||
rt_dep = cc.find_library('rt', required : false)
|
||||
gdk = dependency('gdk-3.0', version: '>= 3.24')
|
||||
gtk = dependency('gtk+-3.0', version: '>= 3.24')
|
||||
assert(gdk.get_pkgconfig_variable('targets').split().contains('wayland'), 'Wayland GDK backend not present')
|
||||
assert(gdk.get_variable('targets').split().contains('wayland'), 'Wayland GDK backend not present')
|
||||
epoxy = dependency('epoxy')
|
||||
|
||||
configure_file(input: 'config.h.in', output: 'config.h', configuration: conf)
|
||||
|
||||
Reference in New Issue
Block a user