Buildsystem: disable coverflow for ARM targets

This commit is contained in:
Felix Kauselmann
2018-02-11 18:59:50 +01:00
parent 85a500344c
commit 959798ab23

View File

@ -23,6 +23,15 @@ lessThan(QT_VER_MIN, 3) {
error ("You need at least Qt 5.3 to compile YACReader or YACReaderLibrary.")
}
# Disable coverflow for arm targets
isEmpty(QMAKE_TARGET.arch) {
QMAKE_TARGET.arch = $$QMAKE_HOST.arch
}
contains(QMAKE_TARGET.arch, arm.*) {
message("Building for ARM architecture. Disabling OpenGL coverflow ...")
CONFIG += no_opengl
}
# build without opengl widget support
CONFIG(no_opengl) {
DEFINES += NO_OPENGL