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 -1
View File
@@ -9,7 +9,7 @@ echo $MAKE_COMMAND
mkdir -p $BUILD_DIR
cd $BUILD_DIR
qmake --version
qmake -spec $QMAKE_SPEC $PROJECT_DIR
qmake -spec $QMAKE_SPEC $PROJECT_DIR $QMAKE_EXTRAS
$MAKE_COMMAND
$CLANG_TIDY
cp -r $PROJECT_DIR/src/res $BUILD_DIR/bin/linux/AdvancedSettings/
+3
View File
@@ -18,3 +18,6 @@ else
CLANG_TIDY="$SCRIPT_DIR/run-clang-tidy.sh"
fi
if [[ -n $NO_X11 ]]; then
QMAKE_EXTRAS='CONFIG+=noX11'
fi