build: warn when enabling wl_shell support

Let's remind the user one more time that the option will go away
in the future.

Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
Simon Ser 2022-01-20 13:27:01 +01:00
parent 26b04f0045
commit 2839e61018
1 changed files with 2 additions and 0 deletions

View File

@ -140,6 +140,8 @@ if dep_xkbcommon.version().version_compare('>= 0.5.0')
endif
if get_option('deprecated-wl-shell')
warning('Support for the deprecated wl_shell interface is enabled.')
warning('This feature will be removed in a future version.')
config_h.set('HAVE_DEPRECATED_WL_SHELL', '1')
endif