12 lines
197 B
Prolog
12 lines
197 B
Prolog
|
SOURCES = opengl.cpp
|
||
|
CONFIG += x11
|
||
|
INCLUDEPATH += $$QMAKE_INCDIR_OPENGL
|
||
|
|
||
|
for(p, QMAKE_LIBDIR_OPENGL) {
|
||
|
exists($$p):LIBS += -L$$p
|
||
|
}
|
||
|
|
||
|
CONFIG -= qt
|
||
|
win32-g++*:LIBS += -lopengl32
|
||
|
else:LIBS += -lGL
|