1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

meson: Update for libnkutils upstream changes

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
Quentin Glidic 2022-02-26 15:58:56 +00:00
parent e6dbc8fbd3
commit 2d591af539
No known key found for this signature in database
GPG key ID: AC203F96E2C34BB7

View file

@ -106,7 +106,9 @@ nk_options = [
nk = subproject('libnkutils', default_options: nk_options)
nk_subproject_options = nk.get_variable('nk_options')
foreach o : nk_options + nk_subproject_options
if not nk_options.contains(o) or not nk_subproject_options.contains(o)
if ( o.startswith('git-work-tree=') )
continue
elif not nk_options.contains(o) or not nk_subproject_options.contains(o)
error('You must not change libnkutils options @0@ != @1@'.format('|'.join(nk_options), '|'.join(nk_subproject_options)))
endif
endforeach