aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils/lumina-config/lumina-config.pro
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-01-06 09:03:56 -0500
committerKen Moore <ken@ixsystems.com>2017-01-06 09:03:56 -0500
commitdc8e7acb08930a07c76ca700c1d70979c8a51db9 (patch)
treedca77852afb2816831eefc63172b87c22fad1d12 /src-qt5/core-utils/lumina-config/lumina-config.pro
parentGet some more stuff merged over. Starting to glue the various global structur... (diff)
downloadlumina-dc8e7acb08930a07c76ca700c1d70979c8a51db9.tar.gz
lumina-dc8e7acb08930a07c76ca700c1d70979c8a51db9.tar.bz2
lumina-dc8e7acb08930a07c76ca700c1d70979c8a51db9.zip
Add a new compile-time option: NO_XINPUT
This can be used to disable the usage of the xcb/xinput.h class, since some OS's seem to not have it for some reason. Note that this option will make the input device management page in lumina-config unavailable on that operating system. Example: qmake CONFIG+=NO_XINPUT
Diffstat (limited to 'src-qt5/core-utils/lumina-config/lumina-config.pro')
-rw-r--r--src-qt5/core-utils/lumina-config/lumina-config.pro7
1 files changed, 6 insertions, 1 deletions
diff --git a/src-qt5/core-utils/lumina-config/lumina-config.pro b/src-qt5/core-utils/lumina-config/lumina-config.pro
index 57531e69..d690bcb3 100644
--- a/src-qt5/core-utils/lumina-config/lumina-config.pro
+++ b/src-qt5/core-utils/lumina-config/lumina-config.pro
@@ -15,7 +15,12 @@ include(../../core/libLumina/LDesktopUtils.pri) #includes LUtils
include(../../core/libLumina/LuminaXDG.pri)
include(../../core/libLumina/LuminaSingleApplication.pri)
include(../../core/libLumina/LuminaThemes.pri)
-include(../../core/libLumina/LInputDevice.pri)
+
+NO_XINPUT{
+ DEFINES+=NO_XINPUT
+}else{
+ include(../../core/libLumina/LInputDevice.pri)
+}
SOURCES += main.cpp \
mainWindow.cpp \
bgstack15