summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTomasz Olszak <olszak.tomasz@gmail.com>2015-02-26 15:41:16 +0100
committerTomasz Olszak <olszak.tomasz@gmail.com>2015-02-26 15:41:16 +0100
commit9b8366ec47c33fd1cf16902b5e0f39e031c8ac3a (patch)
treeb9519f9a8215ed1e0c0b3d46d39a2d54e70c2d4b /src
parent47d73278f105bd4ee9bad446d269112972506515 (diff)
Setting DFLT_XKB_CONFIG_ROOT only if not defined.
Now it is possible to set DFLT_XKB_CONFIG_ROOT from devices mkspecs. Change-Id: Ica503625e9b8126b16aaf7f80e7ec2833ea33763 Reviewed-by: Jarosław Staniek <staniek@kde.org> Conflicts: src/3rdparty/xkbcommon.pri
Diffstat (limited to 'src')
-rw-r--r--src/3rdparty/xkbcommon.pri2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/xkbcommon.pri b/src/3rdparty/xkbcommon.pri
index eaef4749db..b5b781f3c9 100644
--- a/src/3rdparty/xkbcommon.pri
+++ b/src/3rdparty/xkbcommon.pri
@@ -4,7 +4,7 @@ INCLUDEPATH += $$PWD/xkbcommon \
$$PWD/xkbcommon/src \
$$PWD/xkbcommon/src/xkbcomp
-DEFINES += DFLT_XKB_CONFIG_ROOT='\\"$$QMAKE_XKB_CONFIG_ROOT\\"'
+!contains(DEFINES, DFLT_XKB_CONFIG_ROOT.*): DEFINES += DFLT_XKB_CONFIG_ROOT='\\"$$QMAKE_XKB_CONFIG_ROOT\\"'
### RMLVO names can be overwritten with environmental variables (see libxkbcommon documentation)
DEFINES += DEFAULT_XKB_RULES='\\"evdev\\"'