summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 1 insertions, 3 deletions
diff --git a/meson.build b/meson.build
index 25bc346..ace7c93 100644
--- a/meson.build
+++ b/meson.build
@@ -38,8 +38,6 @@ endif
wayland_client = dependency('wayland-client', version: '>=1.20.0')
wayland_protos = dependency('wayland-protocols', version: '>=1.25', fallback: 'wayland-protocols')
-# use native version of wayland-scanner when cross-compiling
-# meson does this too: https://github.com/mesonbuild/meson/blob/c649a2b8c59c9f49affca9bd89c126bfa0f54449/mesonbuild/modules/unstable_wayland.py#L48-L53
wayland_scanner = dependency('wayland-scanner', version: '>=1.15.0', native: true)
xkbcommon = dependency('xkbcommon')
cairo = dependency('cairo')
@@ -52,7 +50,7 @@ math = cc.find_library('m')
git = find_program('git', required: false)
scdoc = find_program('scdoc', required: get_option('man-pages'))
-wayland_scanner_prog = find_program(wayland_scanner.get_variable('wayland_scanner'))
+wayland_scanner_prog = find_program(wayland_scanner.get_variable('wayland_scanner'), native: true)
version = '"@0@"'.format(meson.project_version())
if git.found()