tinywl: build with meson if examples option is enabled

This commit is contained in:
Simon Zeni 2021-11-18 16:29:05 -05:00 committed by Simon Ser
parent e656697a7d
commit 52c34e8253
2 changed files with 6 additions and 0 deletions

View file

@ -180,6 +180,7 @@ summary(features + internal_features, bool_yn: true)
if get_option('examples') if get_option('examples')
subdir('examples') subdir('examples')
subdir('tinywl')
endif endif
pkgconfig = import('pkgconfig') pkgconfig = import('pkgconfig')

5
tinywl/meson.build Normal file
View file

@ -0,0 +1,5 @@
executable(
'tinywl',
['tinywl.c', protocols_client_header['xdg-shell']],
dependencies: wlroots,
)