summaryrefslogtreecommitdiff
path: root/kmscube
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2023-02-24 16:02:47 +0200
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2023-02-24 18:10:42 +0200
commit3c9e134287362f3273ff04a86f32838b65b2651e (patch)
treef198264a97b09d8fae79b0b695991c28cd6105a9 /kmscube
parentdb5e57cdba31439ab2ae0e85c0ffc0c200ac3082 (diff)
meson: Add summary
Add summary print for meson configuration. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Diffstat (limited to 'kmscube')
-rw-r--r--kmscube/meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/kmscube/meson.build b/kmscube/meson.build
index 7b87941..fd0fb96 100644
--- a/kmscube/meson.build
+++ b/kmscube/meson.build
@@ -1,7 +1,14 @@
+if not get_option('kmscube')
+ kmscube_enabled = false
+ subdir_done()
+endif
+
if not get_option('libutils')
error('"kmscube" option requires "libutils" option enabled')
endif
+kmscube_enabled = true
+
kmscube_sources = files([
'cube.cpp',
'cube-egl.cpp',