mirror of
https://github.com/YACReader/yacreader
synced 2025-07-19 13:34:44 -04:00
Buildsystem: disable coverflow for ARM targets
This commit is contained in:
11
config.pri
11
config.pri
@ -23,7 +23,16 @@ lessThan(QT_VER_MIN, 3) {
|
|||||||
error ("You need at least Qt 5.3 to compile YACReader or YACReaderLibrary.")
|
error ("You need at least Qt 5.3 to compile YACReader or YACReaderLibrary.")
|
||||||
}
|
}
|
||||||
|
|
||||||
#build without opengl widget support
|
# 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) {
|
CONFIG(no_opengl) {
|
||||||
DEFINES += NO_OPENGL
|
DEFINES += NO_OPENGL
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user