summaryrefslogtreecommitdiff
path: root/kmscube
diff options
context:
space:
mode:
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',