summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 1042c493..863a0c83 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,8 @@
-SUBDIRS = liblightdm-gobject
-if HAVE_QT
+SUBDIRS =
+if COMPILE_LIBLIGHTDM_GOBJECT
+SUBDIRS += liblightdm-gobject
+endif
+if COMPILE_LIBLIGHTDM_QT
SUBDIRS += liblightdm-qt
endif
SUBDIRS += data greeters po src themes doc