aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorJan Staněk <jstanek@redhat.com>2020-01-20 14:53:03 +0100
committerSimon Ser <contact@emersion.fr>2020-01-20 15:43:08 +0100
commitd9fdd28ac662b6aa569b3df1edcd872b1ba8eb7e (patch)
tree7737993dea4ef7e93d42a215e4476754935a7d67 /meson.build
parentb1a63bcd84adad5bffa8ba73dbf64e05c8ce9bc9 (diff)
Honor the `examples` meson setting
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index dc031c2a..4d7e96db 100644
--- a/meson.build
+++ b/meson.build
@@ -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,