Add noX11 flag to Linux compilations

This allows users that are not using X11 to still compile the
application.
This commit is contained in:
Vasily
2019-04-22 09:56:50 +02:00
committed by username223
parent d0a2e15dbf
commit 4ec1fbf201
4 changed files with 13 additions and 4 deletions
+1
View File
@@ -143,6 +143,7 @@ The following environmental variables are relevant for building the project.
| -------------------- | ------------- |
| `QMAKE_SPEC` | The [mkspec](https://forum.qt.io/topic/70970/what-is-mkspecs-used-for-how-to-configure-for-my-hardware) to compile to. Either `linux-g++` or `linux-clang`. Defaults to `linux-g++`. |
| `USE_TIDY` | If set a compilation database will be created and the project linted. Can only be used with `clang`. |
| `NO_X11` | If set the application will be compiled without X11 specific libraries. This disables certain things like sending keystrokes from VR. |
If an environment variable isn't set a default value will be provided. The default values are shown in the table below.