Add noX11 flag to Linux compilations
This allows users that are not using X11 to still compile the application.
This commit is contained in:
@@ -54,9 +54,14 @@ win32 {
|
||||
}
|
||||
|
||||
unix:!macx {
|
||||
SOURCES += src/tabcontrollers/keyboardinput/KeyboardInputX11.cpp
|
||||
CONFIG += x11
|
||||
LIBS += -lXtst
|
||||
!noX11 {
|
||||
SOURCES += src/tabcontrollers/keyboardinput/KeyboardInputX11.cpp
|
||||
CONFIG += x11
|
||||
LIBS += -lXtst
|
||||
}
|
||||
else {
|
||||
SOURCES += src/tabcontrollers/keyboardinput/KeyboardInputDummy.cpp
|
||||
}
|
||||
}
|
||||
|
||||
macx {
|
||||
|
||||
Reference in New Issue
Block a user