From 52c34e82539e1f09711046a3f1e1fdad100eb5c0 Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Thu, 18 Nov 2021 16:29:05 -0500 Subject: [PATCH] tinywl: build with meson if examples option is enabled --- meson.build | 1 + tinywl/meson.build | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 tinywl/meson.build diff --git a/meson.build b/meson.build index c546b74d0..2f2969496 100644 --- a/meson.build +++ b/meson.build @@ -180,6 +180,7 @@ summary(features + internal_features, bool_yn: true) if get_option('examples') subdir('examples') + subdir('tinywl') endif pkgconfig = import('pkgconfig') diff --git a/tinywl/meson.build b/tinywl/meson.build new file mode 100644 index 000000000..82d31d22f --- /dev/null +++ b/tinywl/meson.build @@ -0,0 +1,5 @@ +executable( + 'tinywl', + ['tinywl.c', protocols_client_header['xdg-shell']], + dependencies: wlroots, +)