wayland scanner - use non-deprecated option for code gen

This commit is contained in:
Carsten Haitzler 2021-05-12 20:00:22 +01:00
parent aa10dede13
commit 66d7f6f43a
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ if get_option('wl') == true
arguments: ['server-header', '@INPUT@', '@OUTPUT@'])
gen_scanner_impl = generator(wayland_scanner,
output : '@BASENAME@-protocol.c',
arguments: ['code', '@INPUT@', '@OUTPUT@'])
arguments: ['private-code', '@INPUT@', '@OUTPUT@'])
config_h.set('HAVE_WAYLAND', '1')
endif