blob: 103ef3a3acc37e14536b809dfa025d740da5a961 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
diff --git a/src/meson.build b/src/meson.build
index a8a1d2b..5190cdd 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -78,8 +78,7 @@ if get_option('scanner')
endif
if meson.is_cross_build() or not get_option('scanner')
- scanner_dep = dependency('wayland-scanner', native: true, version: meson.project_version())
- wayland_scanner_for_build = find_program(scanner_dep.get_variable(pkgconfig: 'wayland_scanner'))
+ wayland_scanner_for_build = find_program('wayland_scanner')
else
wayland_scanner_for_build = wayland_scanner
endif
|