diff options
author | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2021-09-19 11:01:00 +0200 |
---|---|---|
committer | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2021-09-19 11:31:59 +0200 |
commit | 80e97bd00bf6263845aa98b411507baba28be67e (patch) | |
tree | 1fb9c6c410c8db2e0df4b8282e107746d57f4b01 | |
parent | cd153943618bcf157896a6d0f1154d0ad62078a7 (diff) |
meson.build: wayland-scanner is only needed for tests
wayland-scanner is only needed for tests so don't require it if tests
are disabled
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-rw-r--r-- | meson.build | 2 | ||||
-rw-r--r-- | tests/meson.build | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/meson.build b/meson.build index 94b49e7..15dbc37 100644 --- a/meson.build +++ b/meson.build @@ -8,8 +8,6 @@ wayland_protocols_version = meson.project_version() fs = import('fs') -dep_scanner = dependency('wayland-scanner', native: true) - stable_protocols = [ 'presentation-time', 'viewporter', diff --git a/tests/meson.build b/tests/meson.build index 66337e7..74824ae 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -1,4 +1,5 @@ prog_scan_sh = find_program('scan.sh') +dep_scanner = dependency('wayland-scanner', native: true) prog_scanner = find_program(dep_scanner.get_pkgconfig_variable('wayland_scanner')) libwayland = [ |