mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-07 03:30:44 +00:00
Change build flags to use command line variables instead
This commit is contained in:
parent
630b77d8e8
commit
e86ba63a93
@ -15,9 +15,9 @@ greaterThan(QT_MAJOR_VERSION,4) {
|
|||||||
#SleepyHead requires OpenGL 2.0 support to run smoothly
|
#SleepyHead requires OpenGL 2.0 support to run smoothly
|
||||||
#On platforms where it's not available, it can still be built to work
|
#On platforms where it's not available, it can still be built to work
|
||||||
#provided the BrokenGL file resides in the SleepyHead source root directory
|
#provided the BrokenGL file resides in the SleepyHead source root directory
|
||||||
exists($$PWD/../BrokenGL) {
|
contains(DEFINES, BrokenGL) {
|
||||||
DEFINES += BROKEN_OPENGL_BUILD
|
|
||||||
message("Building with QWidget gGraphView")
|
message("Building with QWidget gGraphView")
|
||||||
|
DEFINES += BROKEN_OPENGL_BUILD
|
||||||
} else {
|
} else {
|
||||||
message("Building with QGLWidget gGraphView")
|
message("Building with QGLWidget gGraphView")
|
||||||
QT += opengl
|
QT += opengl
|
||||||
|
Loading…
Reference in New Issue
Block a user