summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorLaurent Carlier <lordheavym@gmail.com>2018-02-13 22:33:49 +0100
committerAdam Jackson <ajax@redhat.com>2018-02-14 14:12:24 -0500
commit3203dd175bd71ef4d154578165d930eec29afddb (patch)
tree135c7c67f0fe0c149d2cdb5f08d837ca0f6823d5 /meson.build
parent2c3e137b786dab4a8002a4934fbcf4ef0742f473 (diff)
meson: Make DPMS extension optional
Just mimic autoconf file, DPMS is disabled with Xquartz Signed-off-by: Laurent Carlier <lordheavym@gmail.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build6
1 files changed, 5 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 3c1d54cdf..9baec549c 100644
--- a/meson.build
+++ b/meson.build
@@ -335,10 +335,14 @@ else
build_vgahw = get_option('vgahw') == 'true'
endif
+build_dpms = get_option('dpms')
+if build_xquartz
+ build_dpms = false
+endif
+
# XXX: Allow configuration of these.
build_apm = false
build_acpi = false
-build_dpms = true
build_mitshm = true
build_res = true
build_screensaver = true