From: Peter Hutterer Date: Thu, 9 Jul 2020 03:52:58 +0000 (+1000) Subject: meson.build: move registry-list tool down to the tools section X-Git-Tag: xkbcommon-1.0.0~42 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1b796a7209b4962db69a9de2096464d117d9b0ef;p=platform%2Fupstream%2Flibxkbcommon.git meson.build: move registry-list tool down to the tools section Signed-off-by: Peter Hutterer --- 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"