summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2020-07-09 13:52:58 +1000
committerRan Benita <ran@unusedvar.com>2020-07-25 11:05:14 +0300
commit1b796a7209b4962db69a9de2096464d117d9b0ef (patch)
tree669c99b0cf8c45d7278c8d0d35979fa0e37929cd
parent10a881a499e91883c8f19c59c9ac6e31d0af8874 (diff)
downloadxorg-lib-libxkbcommon-1b796a7209b4962db69a9de2096464d117d9b0ef.tar.gz
meson.build: move registry-list tool down to the tools section
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--meson.build13
1 files changed, 7 insertions, 6 deletions
diff --git a/meson.build b/meson.build
index ec1dbe2..4ac397b 100644
--- a/meson.build
+++ b/meson.build
@@ -344,12 +344,6 @@ if get_option('enable-xkbregistry')
include_directories: include_directories('xkbcommon'),
link_with: libxkbregistry
)
- if have_getopt_long
- executable('xkbcommon-registry-list',
- 'tools/registry-list.c',
- dependencies: dep_libxkbregistry,
- install: false)
- endif
endif
# Tests
@@ -589,6 +583,13 @@ if build_tools
xdg_shell_sources,
dependencies: [tools_dep, wayland_client_dep])
endif
+
+ if have_getopt_long and get_option('enable-xkbregistry')
+ executable('xkbcommon-registry-list',
+ 'tools/registry-list.c',
+ dependencies: dep_libxkbregistry,
+ install: false)
+ endif
endif
# xkeyboard-config "verifier"