Honor the `examples` meson setting

This commit is contained in:
Jan Staněk 2020-01-20 14:53:03 +01:00 committed by Simon Ser
parent b1a63bcd84
commit d9fdd28ac6
1 changed files with 3 additions and 1 deletions

View File

@ -183,7 +183,9 @@ summary = [
]
message('\n'.join(summary))
subdir('examples')
if get_option('examples')
subdir('examples')
endif
pkgconfig = import('pkgconfig')
pkgconfig.generate(lib_wlr,