278152fffd
Commit 773dd01
introduced a general mingw platform scope, which
is cleaner and more flexible than matching the spec name.
Change-Id: Ie3a9cb791a83f7c8a51bc4e23069190c452ab521
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
12 lines
192 B
Prolog
12 lines
192 B
Prolog
SOURCES = opengl.cpp
|
|
CONFIG += x11
|
|
INCLUDEPATH += $$QMAKE_INCDIR_OPENGL
|
|
|
|
for(p, QMAKE_LIBDIR_OPENGL) {
|
|
exists($$p):LIBS += -L$$p
|
|
}
|
|
|
|
CONFIG -= qt
|
|
mingw:LIBS += -lopengl32
|
|
else:LIBS += -lGL
|