aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,